Add wxDIRCTRL_DEFAULT_STYLE for consistency with other classes.
This is, by definition, the style used as default value for the style argument of wxDirCtrl::Create(). Closes #16525. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -45,7 +45,9 @@ enum
|
||||
// Editable labels
|
||||
wxDIRCTRL_EDIT_LABELS = 0x0100,
|
||||
// Allow multiple selection
|
||||
wxDIRCTRL_MULTIPLE = 0x0200
|
||||
wxDIRCTRL_MULTIPLE = 0x0200,
|
||||
|
||||
wxDIRCTRL_DEFAULT_STYLE = wxDIRCTRL_3D_INTERNAL
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -82,7 +84,7 @@ public:
|
||||
const wxString &dir = wxDirDialogDefaultFolderStr,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDIRCTRL_3D_INTERNAL,
|
||||
long style = wxDIRCTRL_DEFAULT_STYLE,
|
||||
const wxString& filter = wxEmptyString,
|
||||
int defaultFilter = 0,
|
||||
const wxString& name = wxTreeCtrlNameStr )
|
||||
@@ -95,7 +97,7 @@ public:
|
||||
const wxString &dir = wxDirDialogDefaultFolderStr,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDIRCTRL_3D_INTERNAL,
|
||||
long style = wxDIRCTRL_DEFAULT_STYLE,
|
||||
const wxString& filter = wxEmptyString,
|
||||
int defaultFilter = 0,
|
||||
const wxString& name = wxTreeCtrlNameStr );
|
||||
|
Reference in New Issue
Block a user