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:
Vadim Zeitlin
2009-04-16 13:00:40 +00:00
parent bd5d8ac1b5
commit b18e2046af
12 changed files with 21 additions and 21 deletions

View File

@@ -72,7 +72,7 @@ static const int NUM_ITEMS = 10;
static const int NUM_ICONS = 9;
int wxCALLBACK
MyCompareFunction(long item1, long item2, wxUIntPtr WXUNUSED(sortData))
MyCompareFunction(long item1, long item2, wxIntPtr WXUNUSED(sortData))
{
// inverse the order
if (item1 < item2)