]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/msgdlg.h
Make calls wxDataViewModel::ItemDeleted() etc. non-virtual as they are not supposed...
[wxWidgets.git] / include / wx / osx / msgdlg.h
index 4ec95ea4a6d3e2791192f2b6a272881dc62d1944..a3f7a4dcf8bd82f379d959fad5f61f30f8a05a87 100644 (file)
@@ -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
@@ -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)
 };