removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -70,13 +70,7 @@ public:
|
||||
// invalidate the item
|
||||
void Unset() { m_pItem = 0; }
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
// deprecated: only for compatibility, don't work on 64 bit archs
|
||||
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(); }
|
||||
#endif // WXWIN_COMPATIBILITY_2_4/!WXWIN_COMPATIBILITY_2_4
|
||||
|
||||
wxTreeItemIdValue m_pItem;
|
||||
};
|
||||
|
Reference in New Issue
Block a user