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
void OnTreeSelected(wxTreeEvent &event);
void OnTreeKeyDown(wxTreeEvent &event);
void OnNew(wxCommandEvent& event);
+ void OnGoHome(wxCommandEvent& event);
void OnShowHidden(wxCommandEvent& event);
wxString m_message;
DECLARE_EVENT_TABLE()
};
-#if !defined(__WXMSW__) && !defined(__WXMAC__) && !defined(__WXPM__)
+#if !defined(__WXMSW__) && !defined(__WXMAC__)
#define wxDirDialog wxGenericDirDialog
#endif