From 681bf55c1c269d4abeca97ea4a1777718aa7fa63 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 9 Jun 2011 00:28:28 +0000 Subject: [PATCH] add member for sheetdialog git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/osx/dirdlg.h | 8 ++++++++ include/wx/osx/filedlg.h | 5 +++++ include/wx/osx/msgdlg.h | 7 +++++++ 3 files changed, 20 insertions(+) diff --git a/include/wx/osx/dirdlg.h b/include/wx/osx/dirdlg.h index 584527f622..882b9beaab 100644 --- a/include/wx/osx/dirdlg.h +++ b/include/wx/osx/dirdlg.h @@ -23,6 +23,10 @@ public: const wxSize& size = wxDefaultSize, const wxString& name = wxDirDialogNameStr); +#if wxOSX_USE_COCOA + ~wxDirDialog(); +#endif + virtual int ShowModal(); #if wxOSX_USE_COCOA @@ -33,6 +37,10 @@ public: protected: DECLARE_DYNAMIC_CLASS(wxDirDialog) + +#if wxOSX_USE_COCOA + WX_NSObject m_sheetDelegate; +#endif }; #endif diff --git a/include/wx/osx/filedlg.h b/include/wx/osx/filedlg.h index 170795379e..2d7e1648f4 100644 --- a/include/wx/osx/filedlg.h +++ b/include/wx/osx/filedlg.h @@ -41,6 +41,10 @@ public: const wxSize& sz = wxDefaultSize, const wxString& name = wxFileDialogNameStr); +#if wxOSX_USE_COCOA + ~wxFileDialog(); +#endif + virtual void GetPaths(wxArrayString& paths) const { paths = m_paths; } virtual void GetFilenames(wxArrayString& files) const { files = m_fileNames ; } @@ -81,6 +85,7 @@ protected: int m_firstFileTypeFilter; wxArrayString m_currentExtensions; WX_NSObject m_delegate; + WX_NSObject m_sheetDelegate; #endif }; diff --git a/include/wx/osx/msgdlg.h b/include/wx/osx/msgdlg.h index 694d84dc84..cad3de35b7 100644 --- a/include/wx/osx/msgdlg.h +++ b/include/wx/osx/msgdlg.h @@ -22,6 +22,10 @@ public: long style = wxOK|wxCENTRE, const wxPoint& pos = wxDefaultPosition); +#if wxOSX_USE_COCOA + ~wxMessageDialog(); +#endif + virtual int ShowModal(); #if wxOSX_USE_COCOA @@ -42,6 +46,9 @@ protected: int m_buttonId[3]; int m_buttonCount; +#if wxOSX_USE_COCOA + WX_NSObject m_sheetDelegate; +#endif DECLARE_DYNAMIC_CLASS(wxMessageDialog) }; -- 2.47.2