]> git.saurik.com Git - wxWidgets.git/commit
Define wx[U]IntPtr as long, not [s]size_t, in 32 bit builds.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 May 2011 13:29:59 +0000 (13:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 May 2011 13:29:59 +0000 (13:29 +0000)
commit76b513074d36a353916f9cf134106ad1605e66ee
tree5e4d896bb9fb08c9c312cbc8f481f0fc1b50412e
parentaacbb5dc43ec99d4a5b5cbdfd34ee0112ad58ba1
Define wx[U]IntPtr as long, not [s]size_t, in 32 bit builds.

Defining wxIntPtr as ssize_t or long in 32 bit builds doesn't really change
anything but using long means that we can replace longs in the existing API
with wxIntPtr without breaking compatibility, like in wxListCtrl::SortItems().
It is also more compatible with 64 bit builds where wxIntPtr is long already.
So it has some minor advantages and no apparent drawbacks.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/defs.h