X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b50747ea53f4a9906d572d4bca4e452e66c8dbd5..0a7ee6e0f400f0d10b158bc0396be22f59d6ad8f:/include/wx/cocoa/dirdlg.h diff --git a/include/wx/cocoa/dirdlg.h b/include/wx/cocoa/dirdlg.h index 6b74ed026f..9412469bf6 100644 --- a/include/wx/cocoa/dirdlg.h +++ b/include/wx/cocoa/dirdlg.h @@ -19,29 +19,26 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel); // wxDirDialog //------------------------------------------------------------------------- -class WXDLLEXPORT wxDirDialog: public wxDirDialogBase +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(); - - long GetStyle() const { return m_dialogStyle; } + virtual ~wxDirDialog(); virtual int ShowModal(); - + inline WX_NSSavePanel GetNSSavePanel() { return (WX_NSSavePanel)m_cocoaNSWindow; } protected: - long m_dialogStyle; wxString m_dir; wxWindow * m_parent; wxString m_fileName;