aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_extra
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-03-20 11:40:58 +0100
committerDan Gudmundsson <[email protected]>2014-03-20 15:10:15 +0100
commit8bf9ec0cb4d4f15bbc2e0e6ccadb43284bcfaa7a (patch)
tree635dea7e749b80a6573662305cd2f016aefd404a /lib/wx/api_gen/wx_extra
parent5b5ae437cbb7132cb251f7556764971c9feef3ad (diff)
downloadotp-8bf9ec0cb4d4f15bbc2e0e6ccadb43284bcfaa7a.tar.gz
otp-8bf9ec0cb4d4f15bbc2e0e6ccadb43284bcfaa7a.tar.bz2
otp-8bf9ec0cb4d4f15bbc2e0e6ccadb43284bcfaa7a.zip
wx: Fix listCtrl sort callback
Diffstat (limited to 'lib/wx/api_gen/wx_extra')
-rw-r--r--lib/wx/api_gen/wx_extra/wxListCtrl.c_src4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wx/api_gen/wx_extra/wxListCtrl.c_src b/lib/wx/api_gen/wx_extra/wxListCtrl.c_src
index 8fa31e512e..d6196d11a2 100644
--- a/lib/wx/api_gen/wx_extra/wxListCtrl.c_src
+++ b/lib/wx/api_gen/wx_extra/wxListCtrl.c_src
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2011-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2011-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -165,7 +165,7 @@ case ~s: { // 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 */