diff --git a/include/wx/mac/carbon/dirdlg.h b/include/wx/mac/carbon/dirdlg.h index 734292ade3..06a4122af0 100644 --- a/include/wx/mac/carbon/dirdlg.h +++ b/include/wx/mac/carbon/dirdlg.h @@ -22,7 +22,7 @@ public: wxDirDialog(wxWindow *parent, const wxString& message = wxDirSelectorPromptStr, const wxString& defaultPath = _T(""), - long style = 0, + long style = wxDD_DEFAULT_STYLE, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, const wxString& name = wxDirDialogNameStr); diff --git a/include/wx/mac/classic/dirdlg.h b/include/wx/mac/classic/dirdlg.h index 734292ade3..06a4122af0 100644 --- a/include/wx/mac/classic/dirdlg.h +++ b/include/wx/mac/classic/dirdlg.h @@ -22,7 +22,7 @@ public: wxDirDialog(wxWindow *parent, const wxString& message = wxDirSelectorPromptStr, const wxString& defaultPath = _T(""), - long style = 0, + long style = wxDD_DEFAULT_STYLE, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, const wxString& name = wxDirDialogNameStr); diff --git a/include/wx/msw/dirdlg.h b/include/wx/msw/dirdlg.h index bf31a0063a..a53cd1fff8 100644 --- a/include/wx/msw/dirdlg.h +++ b/include/wx/msw/dirdlg.h @@ -22,7 +22,7 @@ public: wxDirDialog(wxWindow *parent, const wxString& message = wxDirSelectorPromptStr, const wxString& defaultPath = wxEmptyString, - long style = 0, + long style = wxDD_DEFAULT_STYLE, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, const wxString& name = wxDirDialogNameStr);