]> git.saurik.com Git - wxWidgets.git/commitdiff
Implement Cocoa_canBecomeMainWindow to say YES to Cocoa
authorDavid Elliott <dfe@tgwbd.org>
Fri, 5 Sep 2003 01:40:52 +0000 (01:40 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 5 Sep 2003 01:40:52 +0000 (01:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cocoa/dialog.h

index 38038b341c03741798d06f5c6023fd633d159dd4..e736b8f756e001aa3d612786241e35c695c25e13 100644 (file)
@@ -74,6 +74,8 @@ protected:
 // ------------------------------------------------------------------------
 protected:
     virtual void Cocoa_close(void);
+    virtual bool Cocoa_canBecomeMainWindow(bool &canBecome)
+    {   canBecome = true; return true; }
 
 // ------------------------------------------------------------------------
 // Implementation