X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5f330f9bc5554984deca9db625b515a87c8098d..5e0526df034ebceefc8e6ab813e32e38a9ac90ff:/src/generic/dirctrlg.cpp?ds=sidebyside diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index 54a3a5c5dd..ab912cea50 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -504,7 +504,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent, Init(); long treeStyle = wxTR_HAS_BUTTONS | wxTR_HIDE_ROOT; - + #ifdef __WXGTK20__ treeStyle |= wxTR_NO_LINES; #endif @@ -553,7 +553,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent, m_rootId = m_treeCtrl->AddRoot( rootName, 3, -1, rootData); m_treeCtrl->SetItemHasChildren(m_rootId); ExpandDir(m_rootId); // automatically expand first level - + // Expand and select the default path if (!m_defaultPath.empty()) {