X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/937f314d3fcb38b7740d6d014a6099236907fa3b..6968a3b87cee46f5c5af9b46e1ef97f17133cef7:/include/wx/cocoa/dirdlg.h diff --git a/include/wx/cocoa/dirdlg.h b/include/wx/cocoa/dirdlg.h index a850bafa2d..9412469bf6 100644 --- a/include/wx/cocoa/dirdlg.h +++ b/include/wx/cocoa/dirdlg.h @@ -19,35 +19,28 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel); // wxDirDialog //------------------------------------------------------------------------- -class WXDLLEXPORT wxDirDialog: public wxDialog +class WXDLLIMPEXP_CORE wxDirDialog: public wxDirDialogBase { DECLARE_DYNAMIC_CLASS(wxDirDialog) - DECLARE_NO_COPY_CLASS(wxDirDialog) + wxDECLARE_NO_COPY_CLASS(wxDirDialog); public: wxDirDialog(wxWindow *parent, const wxString& message = wxDirSelectorPromptStr, - const wxString& defaultPath = _T(""), + const wxString& defaultPath = wxT(""), long style = wxDD_DEFAULT_STYLE, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, const wxString& name = wxDirDialogNameStr); - ~wxDirDialog(); - - wxString GetMessage() const { return m_message; } - wxString GetPath() const { return m_path; } - long GetStyle() const { return m_dialogStyle; } + virtual ~wxDirDialog(); virtual int ShowModal(); - + inline WX_NSSavePanel GetNSSavePanel() { return (WX_NSSavePanel)m_cocoaNSWindow; } protected: - wxString m_message; - long m_dialogStyle; wxString m_dir; wxWindow * m_parent; - wxString m_path; wxString m_fileName; private: