Fix cast from pointer to int in wxDataViewCtrl.
This fixes compilation in 64 bit. Closes #12073. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
747eb0f686
commit
74035a191b
@ -3782,8 +3782,7 @@ int wxDataViewCtrlInternal::GetIndexOf( const wxDataViewItem &parent, const wxDa
|
||||
{
|
||||
if (m_wx_model->IsVirtualListModel())
|
||||
{
|
||||
int index = ((int)(item.GetID())) - 1;
|
||||
return index;
|
||||
return wxPtrToUInt(item.GetID()) - 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user