From dbf432f1265d695739d802b106de5dfac8ba418f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 3 Aug 2014 15:50:43 +0000 Subject: [PATCH] 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/branches/WX_3_0_BRANCH@76994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/controls/listbasetest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controls/listbasetest.cpp b/tests/controls/listbasetest.cpp index 428840b3b4..47d349c10e 100644 --- a/tests/controls/listbasetest.cpp +++ b/tests/controls/listbasetest.cpp @@ -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)