X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/038c99477c8cd14013cef892517012717c47df35..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/osx/app.h?ds=sidebyside diff --git a/include/wx/osx/app.h b/include/wx/osx/app.h index 0efd8c05a7..b341817be2 100644 --- a/include/wx/osx/app.h +++ b/include/wx/osx/app.h @@ -4,7 +4,6 @@ // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -142,11 +141,24 @@ public: virtual void MacNewFile() ; // in response of a reopen-application apple event virtual void MacReopenApp() ; +#if wxOSX_USE_COCOA_OR_IPHONE // immediately before the native event loop launches virtual void OSXOnWillFinishLaunching(); // immediately when the native event loop starts, no events have been served yet virtual void OSXOnDidFinishLaunching(); + // OS asks to terminate app, return no to stay running + virtual bool OSXOnShouldTerminate(); + // before application terminates + virtual void OSXOnWillTerminate(); +private: +#if wxOSX_USE_IPHONE + bool m_onInitResult; +#endif +public: + +#endif + // Hide the application windows the same as the system hide command would do it. void MacHideApp();