diff options
author | Dan Gudmundsson <[email protected]> | 2014-03-20 11:40:58 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2014-03-20 15:10:15 +0100 |
commit | 8bf9ec0cb4d4f15bbc2e0e6ccadb43284bcfaa7a (patch) | |
tree | 635dea7e749b80a6573662305cd2f016aefd404a /lib/wx/api_gen | |
parent | 5b5ae437cbb7132cb251f7556764971c9feef3ad (diff) | |
download | otp-8bf9ec0cb4d4f15bbc2e0e6ccadb43284bcfaa7a.tar.gz otp-8bf9ec0cb4d4f15bbc2e0e6ccadb43284bcfaa7a.tar.bz2 otp-8bf9ec0cb4d4f15bbc2e0e6ccadb43284bcfaa7a.zip |
wx: Fix listCtrl sort callback
Diffstat (limited to 'lib/wx/api_gen')
-rw-r--r-- | lib/wx/api_gen/wx_extra/wxListCtrl.c_src | 4 |
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 */ |