Fix wxListCtrl sort callback signature in the test under Win64.
Use wxIntPtr instead of long which is not big enough to hold a pointer in Win64 builds. Closes #4309. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
55a385d7ad
commit
ab50aed57b
@ -445,7 +445,7 @@ namespace
|
||||
{
|
||||
//From the sample but fixed so it actually inverts
|
||||
int wxCALLBACK
|
||||
MyCompareFunction(long item1, long item2, wxIntPtr WXUNUSED(sortData))
|
||||
MyCompareFunction(wxIntPtr item1, wxIntPtr item2, wxIntPtr WXUNUSED(sortData))
|
||||
{
|
||||
// inverse the order
|
||||
if (item1 < item2)
|
||||
|
Loading…
Reference in New Issue
Block a user