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:
Vadim Zeitlin
2014-09-23 17:41:09 +00:00
parent bc19f463a2
commit f17b527764

View File

@@ -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)