Make wxListCtrl sort function take wxIntPtr, not long, arguments.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 May 2011 13:30:03 +0000 (13:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 May 2011 13:30:03 +0000 (13:30 +0000)
commitd3ca8487512246d26cb9cae4976457d12b059171
tree06e9da8c77e1dfdc1af5922b5fe9f8ea24abbc51
parent76b513074d36a353916f9cf134106ad1605e66ee
Make wxListCtrl sort function take wxIntPtr, not long, arguments.

As the arguments to the sort function contain the client data associated with
the items, they may be pointers and hence of greater size than long in Win64
builds. Use wxIntPtr instead of long everywhere to fix this.

Notice that this doesn't break compatibility for 32 bit code where long can
still be used as it is the same as wxIntPtr there after the previous commit.

Closes #4309.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/listbase.h
interface/wx/listctrl.h
samples/listctrl/listtest.cpp
src/generic/filectrlg.cpp
src/msw/listctrl.cpp