From 456fef85bb254a89495a88eaadcdb36b1de61b5e Mon Sep 17 00:00:00 2001 From: David Elliott Date: Fri, 5 Sep 2003 01:40:52 +0000 Subject: [PATCH] Implement Cocoa_canBecomeMainWindow to say YES to Cocoa git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cocoa/dialog.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/cocoa/dialog.h b/include/wx/cocoa/dialog.h index 38038b341c..e736b8f756 100644 --- a/include/wx/cocoa/dialog.h +++ b/include/wx/cocoa/dialog.h @@ -74,6 +74,8 @@ protected: // ------------------------------------------------------------------------ protected: virtual void Cocoa_close(void); + virtual bool Cocoa_canBecomeMainWindow(bool &canBecome) + { canBecome = true; return true; } // ------------------------------------------------------------------------ // Implementation -- 2.50.0