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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user