X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/49e5528addbb69cf3eb79163fca53c2a6d9799c3..73bb67760795ef047ca16c1f151ba49c77eaef62:/include/wx/cocoa/dialog.h?ds=sidebyside diff --git a/include/wx/cocoa/dialog.h b/include/wx/cocoa/dialog.h index 38038b341c..ca47e91ab4 100644 --- a/include/wx/cocoa/dialog.h +++ b/include/wx/cocoa/dialog.h @@ -73,7 +73,9 @@ 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