refresh tree item after changing its icon so that the change is visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0c36b36e98
commit
f5bed7a885
@ -1013,6 +1013,8 @@ void wxTreeCtrl::SetItemImage(const wxTreeItemId& item, int image,
|
||||
return;
|
||||
|
||||
data->SetImage(image, which);
|
||||
|
||||
RefreshItem(item);
|
||||
}
|
||||
|
||||
wxTreeItemParam *wxTreeCtrl::GetItemParam(const wxTreeItemId& item) const
|
||||
|
Loading…
Reference in New Issue
Block a user