]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/gizmos/mac/gizmos.py
Script updates
[wxWidgets.git] / wxPython / contrib / gizmos / mac / gizmos.py
index 4e081d708dcd4b2f1b1be59b5818dd354a298749..bff31a6e883dc5d976020a1234c91a237a08f875 100644 (file)
@@ -490,21 +490,15 @@ class TreeListCtrl(core.Control):
 
     def AssignImageList(*args, **kwargs):
         """AssignImageList(ImageList imageList)"""
 
     def AssignImageList(*args, **kwargs):
         """AssignImageList(ImageList imageList)"""
-        val = _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs)
-        args[1].thisown = 0
-        return val
+        return _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs)
 
     def AssignStateImageList(*args, **kwargs):
         """AssignStateImageList(ImageList imageList)"""
 
     def AssignStateImageList(*args, **kwargs):
         """AssignStateImageList(ImageList imageList)"""
-        val = _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs)
-        args[1].thisown = 0
-        return val
+        return _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs)
 
     def AssignButtonsImageList(*args, **kwargs):
         """AssignButtonsImageList(ImageList imageList)"""
 
     def AssignButtonsImageList(*args, **kwargs):
         """AssignButtonsImageList(ImageList imageList)"""
-        val = _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs)
-        args[1].thisown = 0
-        return val
+        return _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs)
 
     def AddColumn(*args, **kwargs):
         """AddColumn(String text)"""
 
     def AddColumn(*args, **kwargs):
         """AddColumn(String text)"""