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();