Use NSWindow delegate notification windowWillClose instead of overriding close

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-10-06 19:17:11 +00:00
parent 88e3652fd0
commit 9692f42bc6
6 changed files with 15 additions and 17 deletions

View File

@@ -73,7 +73,7 @@ protected:
// Cocoa specifics
// ------------------------------------------------------------------------
protected:
virtual void Cocoa_close(void);
virtual void CocoaDelegate_windowWillClose(void);
virtual bool Cocoa_canBecomeMainWindow(bool &canBecome)
{ canBecome = true; return true; }