X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb896a322a2ed53d393ee738765ddd3f72cee004..f20275d9c54300a403a85a9a6afd42e5e1e9f31c:/include/wx/cocoa/dialog.h diff --git a/include/wx/cocoa/dialog.h b/include/wx/cocoa/dialog.h index 142bcbbef4..ca47e91ab4 100644 --- a/include/wx/cocoa/dialog.h +++ b/include/wx/cocoa/dialog.h @@ -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;