]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dirctrlg.cpp
clear wxArtProvider cache when pushing new provider
[wxWidgets.git] / src / generic / dirctrlg.cpp
index ab27ea34263de19af433a2366c9103ec84c0ceb2..a9a8a03c6b5370767ffb0c73fc8c18f32f59df18 100644 (file)
@@ -505,7 +505,12 @@ bool wxGenericDirCtrl::Create(wxWindow *parent,
 
     Init();
 
-    long treeStyle = wxTR_HAS_BUTTONS | wxTR_EDIT_LABELS | wxTR_HIDE_ROOT;
+    long treeStyle = wxTR_HAS_BUTTONS ; // | wxTR_EDIT_LABELS ;
+
+#ifndef __WXMSW__
+    treeStyle |= wxTR_HIDE_ROOT;
+#endif
+
     if ((style & wxDIRCTRL_3D_INTERNAL) == 0)
         treeStyle |= wxNO_BORDER;