X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfa92264c07d094c05e5a07a17fd7f5bcee8e81f..75377698450fc438a4a474c57ddd39e3587a8297:/include/wx/osx/msgdlg.h diff --git a/include/wx/osx/msgdlg.h b/include/wx/osx/msgdlg.h index 00b54b7df0..9c3d38067d 100644 --- a/include/wx/osx/msgdlg.h +++ b/include/wx/osx/msgdlg.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/mac/carbon/msgdlg.h +// Name: wx/osx/msgdlg.h // Purpose: wxMessageDialog class. Use generic version if no // platform-specific implementation. // Author: Stefan Csomor @@ -13,7 +13,7 @@ #ifndef _WX_MSGBOXDLG_H_ #define _WX_MSGBOXDLG_H_ -class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogWithCustomLabels +class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase { public: wxMessageDialog(wxWindow *parent, @@ -22,8 +22,12 @@ public: long style = wxOK|wxCENTRE, const wxPoint& pos = wxDefaultPosition); - virtual int ShowModal(); +#if wxOSX_USE_COCOA + ~wxMessageDialog(); +#endif + virtual int ShowModal(); + #if wxOSX_USE_COCOA virtual void ShowWindowModal(); virtual void ModalFinishedCallback(void* panel, int resultCode); @@ -39,9 +43,12 @@ protected: void* ConstructNSAlert(); #endif - int m_buttonId[3]; + int m_buttonId[4]; int m_buttonCount; +#if wxOSX_USE_COCOA + WX_NSObject m_sheetDelegate; +#endif DECLARE_DYNAMIC_CLASS(wxMessageDialog) };