@library{wxbase}
@category{appmanagement}
- @see @ref overview_app, wxApp, wxAppTraits, wxEventLoop
+ @see @ref overview_app, wxApp, wxAppTraits, wxEventLoopBase
*/
class wxAppConsole : public wxEvtHandler
{
*/
static bool IsMainLoopRunning();
+ /**
+ Returns @true if called from inside Yield().
+ */
+ bool IsYielding() const;
+
/**
Process all pending events; it is necessary to call this function to
process posted events.
user to perform actions which are not compatible with the current task.
Disabling menu items or whole menus during processing can avoid unwanted
reentrance of code: see ::wxSafeYield for a better function.
+ You can avoid unwanted reentrancies also using IsYielding().
Note that Yield() will not flush the message logs. This is intentional as
calling Yield() is usually done to quickly update the screen and popping up
video modes (see SetVideoMode()).
In general, application-wide settings for GUI-only apps are accessible
- from wxApp (or from wxSystemSettings).
+ from wxApp (or from wxSystemSettings or wxSystemOptions classes).
@library{wxbase}
@category{appmanagement}
- @see @ref overview_app, wxAppTraits, wxEventLoop, wxSystemSettings
+ @see @ref overview_app, wxAppTraits, wxEventLoopBase, wxSystemSettings
*/
class wxApp : public wxAppConsole
{
// ============================================================================
-/** @ingroup group_funcmacro_rtti */
+/** @addtogroup group_funcmacro_rtti */
//@{
/**
-/** @ingroup group_funcmacro_appinitterm */
+/** @addtogroup group_funcmacro_appinitterm */
//@{
/**
-/** @ingroup group_funcmacro_procctrl */
+/** @addtogroup group_funcmacro_procctrl */
//@{
/**