]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/_core.py
Compilation fixes
[wxWidgets.git] / wxPython / src / gtk / _core.py
index 244f6cde11d364cc819e1ee211efdb91613dd89c..48fa5b804527261a1bd29f6e2535f33383e747e7 100644 (file)
@@ -3769,7 +3769,7 @@ class EvtHandler(Object):
     def _setOORInfo(*args, **kwargs):
         """_setOORInfo(self, PyObject _self, bool incref=True)"""
         val = _core_.EvtHandler__setOORInfo(*args, **kwargs)
-        args[0].thisown = 0
+        args[0].this.own(False)
         return val
 
     def Bind(self, event, handler, source=None, id=wx.ID_ANY, id2=wx.ID_ANY):