pass wxIntPtr, not wxUIntPtr, to wxListCtrl::SortItems() callback as it's more compatible with the existing code assuming that this parameter is signed (as our own wxFileCtrl did)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -842,7 +842,7 @@ public:
|
||||
using the specified @a fnSortCallBack function. This function must have the
|
||||
following prototype:
|
||||
@code
|
||||
int wxCALLBACK wxListCompareFunction(long item1, long item2, wxUIntPtr sortData)
|
||||
int wxCALLBACK wxListCompareFunction(long item1, long item2, wxIntPtr sortData)
|
||||
@endcode
|
||||
|
||||
It is called each time when the two items must be compared and should return 0
|
||||
@@ -860,7 +860,7 @@ public:
|
||||
|
||||
Please see the @ref page_samples_listctrl for an example of using this function.
|
||||
*/
|
||||
bool SortItems(wxListCtrlCompare fnSortCallBack, wxUIntPtr data);
|
||||
bool SortItems(wxListCtrlCompare fnSortCallBack, wxIntPtr data);
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user