Added a wxDD_NEW_DIR_BUTTON style for wxDirDialog (currently,
works for the generic implementation only). Renamed wxDIRCTRL_EDITABLE to wxDIRCTRL_EDIT_LABELS. Removed reported memory leaks from dynload.cpp using wxModule -- this may cause problems if other modules want to use wxPluginLibrary. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user