X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/49e5528addbb69cf3eb79163fca53c2a6d9799c3..f20275d9c54300a403a85a9a6afd42e5e1e9f31c:/include/wx/cocoa/dialog.h?ds=inline 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