X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/574c939ef1c1b835a8bc65c0fe724548fa04ec49..8b3fddc49326c0b6019cd7082218726aa17a5727:/src/generic/dirctrlg.cpp?ds=sidebyside diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index c56008620e..ab27ea3426 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -579,7 +579,10 @@ void wxGenericDirCtrl::ShowHidden( bool show ) { m_showHidden = show; - // reparse FIXME + wxString path = GetPath(); + m_treeCtrl->Collapse(m_treeCtrl->GetRootItem()); + m_treeCtrl->Expand(m_treeCtrl->GetRootItem()); + SetPath(path); } void wxGenericDirCtrl::AddSection(const wxString& path, const wxString& name, int imageId)