Port OSXIsGUIApplication() documentation from trunk too.

Now that it is implemented (see r75201), it should be documented as well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-11-16 13:28:45 +00:00
parent 64a8d88e7b
commit ab48d82990

View File

@@ -880,6 +880,27 @@ public:
*/
virtual void MacReopenApp();
/**
May be overridden to indicate that the application is not a foreground
GUI application under OS X.
This method is called during the application startup and returns @true
by default. In this case, wxWidgets ensures that the application is ran
as a foreground, GUI application so that the user can interact with it
normally, even if it is not bundled. If this is undesired, i.e. if the
application doesn't need to be brought to the foreground, this method
can be overridden to return @false.
Notice that overriding it doesn't make any difference for the bundled
applications which are always foreground unless @c LSBackgroundOnly key
is specified in the @c Info.plist file.
@onlyfor{wxosx}
@since 3.0.1
*/
virtual bool OSXIsGUIApplication();
//@}
};