X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/957aea456c1a67fb57084e7e5895fc17d85f8a12..6aa3ea889af9d1da98061a2ddad0550105703b73:/include/wx/generic/dirdlgg.h diff --git a/include/wx/generic/dirdlgg.h b/include/wx/generic/dirdlgg.h index 908473efef..4996965dd3 100644 --- a/include/wx/generic/dirdlgg.h +++ b/include/wx/generic/dirdlgg.h @@ -38,7 +38,7 @@ public: wxGenericDirDialog(): wxDialog() {} wxGenericDirDialog(wxWindow* parent, const wxString& title, const wxString& defaultPath = wxEmptyString, - long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, + 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")); @@ -64,6 +64,7 @@ protected: void OnTreeSelected(wxTreeEvent &event); void OnTreeKeyDown(wxTreeEvent &event); void OnNew(wxCommandEvent& event); + void OnGoHome(wxCommandEvent& event); void OnShowHidden(wxCommandEvent& event); wxString m_message;