diff --git a/include/wx/generic/filepickerg.h b/include/wx/generic/filepickerg.h index ec23c505bd..3d150f7758 100644 --- a/include/wx/generic/filepickerg.h +++ b/include/wx/generic/filepickerg.h @@ -178,7 +178,7 @@ public: // overrideable virtual long GetDialogStyle() const { - long dirdlgstyle = 0; + long dirdlgstyle = wxDD_DEFAULT_STYLE; if (this->HasFlag(wxDIRP_DIR_MUST_EXIST)) dirdlgstyle |= wxDD_DIR_MUST_EXIST;