X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d49bdf343240004c78843ce05c593435ddb22eb5..e02c0a13600894068466a3e7a6035839c3ddd383:/wxPython/src/_evthandler.i 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) {