X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/395506ea99d9bb1f8e255b6b48fea9d547f02797..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/include/wx/osx/app.h diff --git a/include/wx/osx/app.h b/include/wx/osx/app.h index 5e79828ca2..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,7 +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();