From 27822825224f251f3a9a7602883a04fe6d1c3f50 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 15 Oct 2004 21:10:45 +0000 Subject: [PATCH] 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 --- include/wx/treebase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.47.2