X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b39c3fa09a936e6a3f386a67c0fc7cfd84df0168..c9c2cf703c1213a7413d41d7d69a5c21b7acb63b:/wxPython/src/_app.i?ds=inline diff --git a/wxPython/src/_app.i b/wxPython/src/_app.i index 549ca80c44..d90949ce13 100644 --- a/wxPython/src/_app.i +++ b/wxPython/src/_app.i @@ -115,7 +115,7 @@ during each event loop iteration.", ""); DocDeclStr( - virtual bool, Yield(bool onlyIfNeeded = False), + virtual bool, Yield(bool onlyIfNeeded = false), "Process all currently pending events right now, instead of waiting until return to the event loop. It is an error to call ``Yield`` recursively unless the value of ``onlyIfNeeded`` is True. @@ -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(), @@ -307,7 +313,7 @@ DocDeclStr( DocDeclStr( - bool, wxSafeYield(wxWindow* win=NULL, bool onlyIfNeeded=False), + bool, wxSafeYield(wxWindow* win=NULL, bool onlyIfNeeded=false), "This function is similar to `wx.Yield`, except that it disables the user input to all program windows before calling `wx.Yield` and re-enables it again afterwards. If ``win`` is not None, this window