Release ownersihp of the image list in the Assign*ImageList methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-07-28 16:01:26 +00:00
parent 043ec5267a
commit 425e9cb2df
2 changed files with 9 additions and 0 deletions

View 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)