X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7c7a7a86c2a49c45285beaf50f5bfbdb82e390c..6caa0f5cd18fe9fb39c207d5f31fa5633479a822:/wxPython/src/_evthandler.i diff --git a/wxPython/src/_evthandler.i b/wxPython/src/_evthandler.i index 8820696dcf..afff9bc445 100644 --- a/wxPython/src/_evthandler.i +++ b/wxPython/src/_evthandler.i @@ -46,11 +46,6 @@ 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) { @@ -78,7 +73,7 @@ public: } } - %pythonAppend _setOORInfo "args[0].thisown = 0"; + %pythonAppend _setOORInfo "args[0].this.own(False)"; %extend { void _setOORInfo(PyObject* _self, bool incref=true) { if (_self && _self != Py_None) {