-//-----------------------------------------------------------------------------
-// wxGenericDirDialog
-//
-//-----------------------------------------------------------------------------
-
-class wxGenericDirDialog: public wxDialog
-{
-DECLARE_EVENT_TABLE()
-public:
- wxGenericDirDialog(): wxDialog() {}
- wxGenericDirDialog(wxWindow* parent, const wxString& title,
- const wxString& defaultPath = wxEmptyString, long style = wxDEFAULT_DIALOG_STYLE, const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxSize(450, 550), const wxString& name = "dialog");
-
- void OnCloseWindow(wxCloseEvent& event);
- void OnOK(wxCommandEvent& event);
-
- inline void SetMessage(const wxString& message) { m_message = message; }
- void SetPath(const wxString& path) ;
- inline void SetStyle(long style) { m_dialogStyle = style; }
-
- inline wxString GetMessage(void) const { return m_message; }
- wxString GetPath(void) const ;
- inline long GetStyle(void) const { return m_dialogStyle; }
-
-protected:
- wxString m_message;
- long m_dialogStyle;
- wxString m_path;
- wxGenericDirCtrl* m_dirCtrl;
-
-};