X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/957aea456c1a67fb57084e7e5895fc17d85f8a12..3dc0174140ffc52a08fd5b64cf839babad09e5cf:/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;