]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dialog.h
wxEVT_MOVING = 442, not 4442, in event compatibility mode
[wxWidgets.git] / include / wx / cocoa / dialog.h
index 142bcbbef421ba67be1a013d90da1f286b636674..38cdea30def36f042fcf52dc4937ff28c3d81813 100644 (file)
@@ -73,16 +73,19 @@ protected:
 // Cocoa specifics
 // ------------------------------------------------------------------------
 protected:
-    virtual void Cocoa_close(void);
+    virtual void CocoaDelegate_windowWillClose(void);
+    virtual bool Cocoa_canBecomeMainWindow(bool &canBecome)
+    {   canBecome = true; return true; }
 
 // ------------------------------------------------------------------------
 // Implementation
 // ------------------------------------------------------------------------
 public:
-    bool Show(bool show);
+    bool Show(bool show = true);
 
     void SetModal(bool flag);
-    virtual bool IsModal() const;
+    virtual bool IsModal() const { return m_isModal; }
+    bool m_isModal;
 
     // For now, same as Show(TRUE) but returns return code
     virtual int ShowModal();