simplify code by removing workaround not needed any longer after fix of r60910 (see #10830)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ac1013c060
commit
896a8d2951
@ -1179,12 +1179,7 @@ void wxGenericDirCtrl::SelectPath(const wxString& path, bool select)
|
||||
|
||||
if ( done )
|
||||
{
|
||||
if(select && m_treeCtrl->IsSelected(id))
|
||||
return;
|
||||
else
|
||||
{
|
||||
m_treeCtrl->SelectItem(id, select);
|
||||
}
|
||||
m_treeCtrl->SelectItem(id, select);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user