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:
@@ -1326,7 +1326,7 @@ long wxListCtrl::GetItemData(long item) const
|
||||
}
|
||||
|
||||
// Sets the item data
|
||||
bool wxListCtrl::SetItemData(long item, long data)
|
||||
bool wxListCtrl::SetItemPtrData(long item, wxUIntPtr data)
|
||||
{
|
||||
if (m_genericImpl)
|
||||
return m_genericImpl->SetItemData(item, data);
|
||||
@@ -1340,6 +1340,11 @@ bool wxListCtrl::SetItemData(long item, long data)
|
||||
return SetItem(info);
|
||||
}
|
||||
|
||||
bool wxListCtrl::SetItemData(long item, long data)
|
||||
{
|
||||
return SetItemPtrData(item, data);
|
||||
}
|
||||
|
||||
wxRect wxListCtrl::GetViewRect() const
|
||||
{
|
||||
wxASSERT_MSG( !HasFlag(wxLC_REPORT | wxLC_LIST),
|
||||
|
Reference in New Issue
Block a user