]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dialog.h
Decided that not doing methods for keyboard commands was not worth the
[wxWidgets.git] / include / wx / cocoa / dialog.h
index 142bcbbef421ba67be1a013d90da1f286b636674..ca47e91ab49ba83194c73793fa7d324925637a34 100644 (file)
@@ -73,13 +73,15 @@ 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;