X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fc821cccfe0bb436095500d6f8e942bddf4412d..26dddf6c3455f95bef2dcb2a0a514fa0558b50ab:/include/wx/cocoa/NSWindow.h?ds=sidebyside diff --git a/include/wx/cocoa/NSWindow.h b/include/wx/cocoa/NSWindow.h index 06d7aebf6c..b0c87c8f2b 100644 --- a/include/wx/cocoa/NSWindow.h +++ b/include/wx/cocoa/NSWindow.h @@ -24,10 +24,10 @@ class wxCocoaNSWindow public: void AssociateNSWindow(WX_NSWindow cocoaNSWindow); void DisassociateNSWindow(WX_NSWindow cocoaNSWindow); - virtual void Cocoa_close(void) = 0; virtual bool Cocoa_canBecomeMainWindow(bool &canBecome) { return false; } virtual bool CocoaDelegate_windowShouldClose(void) = 0; + virtual void CocoaDelegate_windowWillClose(void) = 0; virtual void CocoaDelegate_windowDidBecomeKey(void) { } virtual void CocoaDelegate_windowDidResignKey(void) { } virtual void CocoaDelegate_windowDidBecomeMain(void) { }