]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed wxTR_HIDE_ROOT under Windows, and removed wxTR_EDIT_LABELS for now
authorJulian Smart <julian@anthemion.co.uk>
Thu, 4 Apr 2002 17:24:49 +0000 (17:24 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 4 Apr 2002 17:24:49 +0000 (17:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;