From 0ad88447caa7d38b3b983cefa86771bea1c14ec9 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 4 Apr 2002 17:24:49 +0000 Subject: [PATCH] Removed wxTR_HIDE_ROOT under Windows, and removed wxTR_EDIT_LABELS for now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/dirctrlg.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index ab27ea3426..a9a8a03c6b 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -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; -- 2.45.2