X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/08887820a9eae40c5720ed3e374fcb42f60dab09..e466fe5f4d9902032dea20b8ff1312968c1643e2:/src/generic/dirctrlg.cpp diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index 94e2f41024..38c948fc2c 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -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;