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:
@@ -1179,12 +1179,7 @@ void wxGenericDirCtrl::SelectPath(const wxString& path, bool select)
|
|||||||
|
|
||||||
if ( done )
|
if ( done )
|
||||||
{
|
{
|
||||||
if(select && m_treeCtrl->IsSelected(id))
|
m_treeCtrl->SelectItem(id, select);
|
||||||
return;
|
|
||||||
else
|
|
||||||
{
|
|
||||||
m_treeCtrl->SelectItem(id, select);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user