From 8bf9ec0cb4d4f15bbc2e0e6ccadb43284bcfaa7a Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Thu, 20 Mar 2014 11:40:58 +0100 Subject: wx: Fix listCtrl sort callback --- lib/wx/c_src/gen/wxe_funcs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/wx/c_src/gen') diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp index 3f5cb4c0f5..8da517ee64 100644 --- a/lib/wx/c_src/gen/wxe_funcs.cpp +++ b/lib/wx/c_src/gen/wxe_funcs.cpp @@ -15875,7 +15875,7 @@ case wxListCtrl_SortItems: { // wxListCtrl::SortItems taylormade callbackInfo* cb = new callbackInfo(); cb->port = Ecmd.port; cb->callbackID = sortCallback; - bool Result = This->SortItems(wxEListCtrlCompare, (long)cb); + bool Result = This->SortItems(wxEListCtrlCompare, (wxeIntPtr)cb); delete cb; /* Destroy the callback, see wxEPrintout::clear_cb */ -- cgit v1.2.3