]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dirctrlg.cpp
A few tweaks and cleanups
[wxWidgets.git] / src / generic / dirctrlg.cpp
index 94e2f41024734d796bd7e7e188dc815ae3c25dcb..38c948fc2c045878e3a20fd931e7de68f7ee31dd 100644 (file)
@@ -504,10 +504,8 @@ bool wxGenericDirCtrl::Create(wxWindow *parent,
 
     long treeStyle = wxTR_HAS_BUTTONS | wxTR_HIDE_ROOT;
 
-#ifdef __WXMSW__
-    if (style & wxDIRCTRL_EDITABLE)
+    if (style & wxDIRCTRL_EDIT_LABELS)
         treeStyle |= wxTR_EDIT_LABELS;
-#endif
 
     if ((style & wxDIRCTRL_3D_INTERNAL) == 0)
         treeStyle |= wxNO_BORDER;