X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90c9fcc5fdbd539ba5f64f4129f17c65f26465c2..94c162795e6ebff164bcfc7bb9aa0138dd83b194:/include/wx/generic/dirdlgg.h?ds=sidebyside diff --git a/include/wx/generic/dirdlgg.h b/include/wx/generic/dirdlgg.h index 594c889dc5..4996965dd3 100644 --- a/include/wx/generic/dirdlgg.h +++ b/include/wx/generic/dirdlgg.h @@ -37,10 +37,10 @@ class WXDLLEXPORT wxGenericDirDialog: public wxDialog public: wxGenericDirDialog(): wxDialog() {} wxGenericDirDialog(wxWindow* parent, const wxString& title, - const wxString& defaultPath = wxEmptyString, - long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, - const wxPoint& pos = wxDefaultPosition, - const wxSize& sz = wxSize(450, 550), + const wxString& defaultPath = wxEmptyString, + long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxDD_NEW_DIR_BUTTON, + const wxPoint& pos = wxDefaultPosition, + const wxSize& sz = wxSize(450, 550), const wxString& name = _T("dialog")); //// Accessors @@ -64,6 +64,8 @@ protected: void OnTreeSelected(wxTreeEvent &event); void OnTreeKeyDown(wxTreeEvent &event); void OnNew(wxCommandEvent& event); + void OnGoHome(wxCommandEvent& event); + void OnShowHidden(wxCommandEvent& event); wxString m_message; long m_dialogStyle; @@ -74,7 +76,7 @@ protected: DECLARE_EVENT_TABLE() }; -#if !defined(__WXMSW__) && !defined(__WXMAC__) && !defined(__WXPM__) +#if !defined(__WXMSW__) && !defined(__WXMAC__) #define wxDirDialog wxGenericDirDialog #endif