From 29f73fbd10707d4ad1ec810011e25619293be46f Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 9 Nov 2013 07:27:06 +0000 Subject: [PATCH] preparing fix for non-bundled osx apps, see #15613 with fix on trunk git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/osx/app.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/osx/app.h b/include/wx/osx/app.h index 4f7b9e352f..767ee9c8bb 100644 --- a/include/wx/osx/app.h +++ b/include/wx/osx/app.h @@ -143,6 +143,10 @@ public: virtual void MacNewFile() ; // in response of a reopen-application apple event virtual void MacReopenApp() ; + + // override this to return false from a non-bundled console app in order to stay in background ... + virtual bool OSXIsGUIApplication() { return true; } + #if wxOSX_USE_COCOA_OR_IPHONE // immediately before the native event loop launches virtual void OSXOnWillFinishLaunching();