]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dirctrlg.cpp
compilation fix after last commit
[wxWidgets.git] / src / generic / dirctrlg.cpp
index e877e833bb0e95367863d6449458307a78d35efb..9182fecd2f8ca5877b273c97e852dcee65a8e5c7 100644 (file)
@@ -635,6 +635,9 @@ wxTreeCtrl* wxGenericDirCtrl::CreateTreeCtrl(wxWindow *parent, wxWindowID id, co
 
 void wxGenericDirCtrl::ShowHidden( bool show )
 {
+    if ( m_showHidden == show )
+        return;
+
     m_showHidden = show;
 
     wxString path = GetPath();