]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/gizmos/gizmos.py
stop usign a deprecated method, and ensure that the imagelist
[wxWidgets.git] / wxPython / contrib / gizmos / gizmos.py
index 9ad14b482791584385a53e71b6c7cf6ce225ecf8..bbd10067db7a39a963ddf7ed954b2c39d766c3bb 100644 (file)
@@ -375,12 +375,15 @@ class wxTreeListCtrlPtr(wxControlPtr):
         return val
     def AssignImageList(self, *_args, **_kwargs):
         val = gizmosc.wxTreeListCtrl_AssignImageList(self, *_args, **_kwargs)
+        _args[0].thisown = 0
         return val
     def AssignStateImageList(self, *_args, **_kwargs):
         val = gizmosc.wxTreeListCtrl_AssignStateImageList(self, *_args, **_kwargs)
+        _args[0].thisown = 0
         return val
     def AssignButtonsImageList(self, *_args, **_kwargs):
         val = gizmosc.wxTreeListCtrl_AssignButtonsImageList(self, *_args, **_kwargs)
+        _args[0].thisown = 0
         return val
     def AddColumn(self, *_args, **_kwargs):
         val = gizmosc.wxTreeListCtrl_AddColumn(self, *_args, **_kwargs)