From: Vadim Zeitlin Date: Fri, 15 Oct 2004 21:10:45 +0000 (+0000) Subject: use wxPtrToUInt/UIntToPtr instead of (removed) ULong versions X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/27822825224f251f3a9a7602883a04fe6d1c3f50?ds=inline use wxPtrToUInt/UIntToPtr instead of (removed) ULong versions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/treebase.h b/include/wx/treebase.h index d6accc47d4..fe2cb9135b 100644 --- a/include/wx/treebase.h +++ b/include/wx/treebase.h @@ -61,7 +61,7 @@ public: #if WXWIN_COMPATIBILITY_2_4 // deprecated: only for compatibility, don't work on 64 bit archs - wxTreeItemId(long item) { wxULongToPtr(m_pItem, item); } + wxTreeItemId(long item) { m_pItem = wxUIntToPtr(item); } operator long() const { return (long)wxPtrToUInt(m_pItem); } #else // !WXWIN_COMPATIBILITY_2_4 operator bool() const { return IsOk(); }