Applied SetItemData() patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a4e0917b48
commit
74707d69ca
@ -929,6 +929,9 @@ void wxGenericTreeCtrl::SetItemData(const wxTreeItemId& item, wxTreeItemData *da
|
||||
{
|
||||
wxCHECK_RET( item.IsOk(), wxT("invalid tree item") );
|
||||
|
||||
if (data)
|
||||
data->SetId( item );
|
||||
|
||||
((wxGenericTreeItem*) item.m_pItem)->SetData(data);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user