From b7c7a7a86c2a49c45285beaf50f5bfbdb82e390c Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 11 Oct 2006 04:16:33 +0000 Subject: [PATCH] reentrance methods git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_evthandler.i | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- 2.45.2