X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63b1cb8227e6ced34de6862e45333b1c5a7e8346..15d9a04c6877a2f730b679402e6798aaace16e3a:/wxPython/contrib/gizmos/gizmos.py diff --git a/wxPython/contrib/gizmos/gizmos.py b/wxPython/contrib/gizmos/gizmos.py index 9ad14b4827..bbd10067db 100644 --- a/wxPython/contrib/gizmos/gizmos.py +++ b/wxPython/contrib/gizmos/gizmos.py @@ -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)