A bugfix in the wxTreeCtrl.GetItem wrapper
Some test/demo modifications and additions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -165,6 +165,7 @@ public:
|
||||
wxListItem* info = new wxListItem;
|
||||
info->m_itemId = itemId;
|
||||
info->m_col = col;
|
||||
info->m_mask = 0xFFFF;
|
||||
self->GetItem(*info);
|
||||
return info;
|
||||
}
|
||||
|
@@ -1855,6 +1855,7 @@ static wxListItem * wxListCtrl_GetItem(wxListCtrl *self,long itemId,int col) {
|
||||
wxListItem* info = new wxListItem;
|
||||
info->m_itemId = itemId;
|
||||
info->m_col = col;
|
||||
info->m_mask = 0xFFFF;
|
||||
self->GetItem(*info);
|
||||
return info;
|
||||
}
|
||||
|
Reference in New Issue
Block a user