X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff3e84ffdc91ee8a52b3ab646e48d44d62de80e1..835165d576b66441987b78519e6ef1fe74ea795a:/include/wx/cocoa/filedlg.h diff --git a/include/wx/cocoa/filedlg.h b/include/wx/cocoa/filedlg.h index 17834726c1..bbcc7ca9bb 100644 --- a/include/wx/cocoa/filedlg.h +++ b/include/wx/cocoa/filedlg.h @@ -19,10 +19,10 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel); // wxFileDialog //------------------------------------------------------------------------- -class WXDLLEXPORT wxFileDialog: public wxFileDialogBase +class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase { DECLARE_DYNAMIC_CLASS(wxFileDialog) - DECLARE_NO_COPY_CLASS(wxFileDialog) + wxDECLARE_NO_COPY_CLASS(wxFileDialog); public: wxFileDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr, @@ -33,14 +33,14 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, const wxString& name = wxFileDialogNameStr); - ~wxFileDialog(); + virtual ~wxFileDialog(); virtual void SetPath(const wxString& path); virtual void GetPaths(wxArrayString& paths) const; virtual void GetFilenames(wxArrayString& files) const; virtual int ShowModal(); - + inline WX_NSSavePanel GetNSSavePanel() { return (WX_NSSavePanel)m_cocoaNSWindow; }