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:
@@ -5177,7 +5177,7 @@ wxUIntPtr wxGenericListCtrl::GetItemData( long item ) const
|
||||
return info.m_data;
|
||||
}
|
||||
|
||||
bool wxGenericListCtrl::SetItemData( long item, long data )
|
||||
bool wxGenericListCtrl::SetItemPtrData( long item, wxUIntPtr data )
|
||||
{
|
||||
wxListItem info;
|
||||
info.m_mask = wxLIST_MASK_DATA;
|
||||
@@ -5187,6 +5187,11 @@ bool wxGenericListCtrl::SetItemData( long item, long data )
|
||||
return true;
|
||||
}
|
||||
|
||||
bool wxGenericListCtrl::SetItemData(long item, long data)
|
||||
{
|
||||
return SetItemPtrData(item, data);
|
||||
}
|
||||
|
||||
wxRect wxGenericListCtrl::GetViewRect() const
|
||||
{
|
||||
return m_mainWin->GetViewRect();
|
||||
|
Reference in New Issue
Block a user