From: Robin Dunn Date: Wed, 11 Oct 2006 04:16:33 +0000 (+0000) Subject: reentrance methods X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b7c7a7a86c2a49c45285beaf50f5bfbdb82e390c reentrance methods git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_evthandler.i b/wxPython/src/_evthandler.i index 3dd673a315..8820696dcf 100644 --- a/wxPython/src/_evthandler.i +++ b/wxPython/src/_evthandler.i @@ -46,6 +46,11 @@ public: // process all pending events void ProcessPendingEvents(); + // reentrance guard + void AllowReentrance( bool allow = true ); + bool IsReentranceAllowed(); + bool IsEventHandlingInProgress(); + %extend { // Dynamic association of a member function handler with the event handler void Connect( int id, int lastId, int eventType, PyObject* func) {