X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6762286db6cf974817dead5b88bebf0e390dbb7e..d25a864d0a1c0d18733666a5015e46da68b4fb1b:/include/wx/osx/msgdlg.h diff --git a/include/wx/osx/msgdlg.h b/include/wx/osx/msgdlg.h index 4ec95ea4a6..00b54b7df0 100644 --- a/include/wx/osx/msgdlg.h +++ b/include/wx/osx/msgdlg.h @@ -23,6 +23,11 @@ public: const wxPoint& pos = wxDefaultPosition); virtual int ShowModal(); + +#if wxOSX_USE_COCOA + virtual void ShowWindowModal(); + virtual void ModalFinishedCallback(void* panel, int resultCode); +#endif protected: // not supported for message dialog @@ -30,6 +35,13 @@ protected: int WXUNUSED(width), int WXUNUSED(height), int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {} +#if wxOSX_USE_COCOA + void* ConstructNSAlert(); +#endif + + int m_buttonId[3]; + int m_buttonCount; + DECLARE_DYNAMIC_CLASS(wxMessageDialog) };