ClearFocusedItem should reset the selected item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1966,6 +1966,8 @@ void wxGenericTreeCtrl::ClearFocusedItem()
|
||||
wxTreeItemId item = GetFocusedItem();
|
||||
if ( item.IsOk() )
|
||||
SelectItem(item, false);
|
||||
|
||||
m_current = NULL;
|
||||
}
|
||||
|
||||
void wxGenericTreeCtrl::SetFocusedItem(const wxTreeItemId& item)
|
||||
|
Reference in New Issue
Block a user