X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef8e4bf082ce8ac5339e296748441408501c55ed..365271b573e3d0ab7512471358f98a589f18c104:/wxPython/src/_evthandler.i?ds=sidebyside diff --git a/wxPython/src/_evthandler.i b/wxPython/src/_evthandler.i index 3dd673a315..afff9bc445 100644 --- a/wxPython/src/_evthandler.i +++ b/wxPython/src/_evthandler.i @@ -73,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) {