added wxListCtrl::SetItemPtrData() to allow associating pointers with items under 64 bit architectures

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-05-10 02:02:21 +00:00
parent 1ac4f9d97b
commit 9ae4fd9db4
9 changed files with 47 additions and 6 deletions

View File

@@ -77,7 +77,10 @@ public:
wxString GetItemText( long item ) const;
void SetItemText( long item, const wxString& str );
wxUIntPtr GetItemData( long item ) const;
bool SetItemData( long item, long data );
#if wxABI_VERSION >= 20804
bool SetItemPtrData(long item, wxUIntPtr data);
#endif // wxABI 2.8.4+
bool SetItemData(long item, long data);
bool GetItemRect( long item, wxRect& rect, int code = wxLIST_RECT_BOUNDS ) const;
bool GetItemPosition( long item, wxPoint& pos ) const;
bool SetItemPosition( long item, const wxPoint& pos ); // not supported in wxGLC