From 45c82204b9f59b583bae019f15c652ffd63f89ef Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 5 Oct 2004 20:51:43 +0000 Subject: [PATCH] Added wx.App.IsMainLoopRunning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_app.i | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wxPython/src/_app.i b/wxPython/src/_app.i index 1f9f92bacb..d90949ce13 100644 --- a/wxPython/src/_app.i +++ b/wxPython/src/_app.i @@ -134,6 +134,12 @@ recursively unless the value of ``onlyIfNeeded`` is True. "Make sure that idle events are sent again. :see: `wx.WakeUpIdle`", ""); + + DocDeclStr( + static bool , IsMainLoopRunning() const, + "Returns True if we're running the main loop, i.e. if the events can +currently be dispatched.", ""); + DocDeclStr( virtual int, MainLoop(),