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:
Vadim Zeitlin
2009-06-06 17:27:29 +00:00
parent ac1013c060
commit 896a8d2951

View File

@@ -1178,15 +1178,10 @@ void wxGenericDirCtrl::SelectPath(const wxString& path, bool select)
return; return;
if ( done ) if ( done )
{
if(select && m_treeCtrl->IsSelected(id))
return;
else
{ {
m_treeCtrl->SelectItem(id, select); m_treeCtrl->SelectItem(id, select);
} }
} }
}
void wxGenericDirCtrl::SelectPaths(const wxArrayString& paths) void wxGenericDirCtrl::SelectPaths(const wxArrayString& paths)
{ {