diff --git a/include/wx/osx/app.h b/include/wx/osx/app.h index e96088c7c2..351a269a28 100644 --- a/include/wx/osx/app.h +++ b/include/wx/osx/app.h @@ -141,6 +141,7 @@ 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 @@ -149,6 +150,7 @@ public: virtual bool OSXOnShouldTerminate(); // before application terminates virtual void OSXOnWillTerminate(); +#endif // Hide the application windows the same as the system hide command would do it. void MacHideApp();