use wxUIntPtr instead of long for 3rd parameter of wxListCtrl::SortItems() to allow passing pointers to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -71,7 +71,8 @@ static const int NUM_ITEMS = 10;
|
||||
// number of items in icon/small icon view
|
||||
static const int NUM_ICONS = 9;
|
||||
|
||||
int wxCALLBACK MyCompareFunction(long item1, long item2, long WXUNUSED(sortData))
|
||||
int wxCALLBACK
|
||||
MyCompareFunction(long item1, long item2, wxUIntPtr WXUNUSED(sortData))
|
||||
{
|
||||
// inverse the order
|
||||
if (item1 < item2)
|
||||
|
Reference in New Issue
Block a user