X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94fd5e4dc14c5de8a0a787eda125987616ace638..716a5baa6ecd0d5d0c31914567e4da3165ca6ff0:/wxPython/src/_evthandler.i diff --git a/wxPython/src/_evthandler.i b/wxPython/src/_evthandler.i index d54c5aa1eb..5df2f19381 100644 --- a/wxPython/src/_evthandler.i +++ b/wxPython/src/_evthandler.i @@ -72,6 +72,7 @@ public: } } + %pythonAppend _setOORInfo "args[0].thisown = 0"; %extend { void _setOORInfo(PyObject* _self, bool incref=true) { if (_self && _self != Py_None) {