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:
@@ -553,9 +553,15 @@ public:
|
|||||||
void SetImageList(wxImageList *imageList);
|
void SetImageList(wxImageList *imageList);
|
||||||
void SetStateImageList(wxImageList *imageList);
|
void SetStateImageList(wxImageList *imageList);
|
||||||
void SetButtonsImageList(wxImageList *imageList);
|
void SetButtonsImageList(wxImageList *imageList);
|
||||||
|
|
||||||
void AssignImageList(wxImageList *imageList);
|
void AssignImageList(wxImageList *imageList);
|
||||||
|
%pragma(python) addtomethod = "AssignImageList:_args[0].thisown = 0"
|
||||||
|
|
||||||
void AssignStateImageList(wxImageList *imageList);
|
void AssignStateImageList(wxImageList *imageList);
|
||||||
|
%pragma(python) addtomethod = "AssignStateImageList:_args[0].thisown = 0"
|
||||||
|
|
||||||
void AssignButtonsImageList(wxImageList *imageList);
|
void AssignButtonsImageList(wxImageList *imageList);
|
||||||
|
%pragma(python) addtomethod = "AssignButtonsImageList:_args[0].thisown = 0"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -375,12 +375,15 @@ class wxTreeListCtrlPtr(wxControlPtr):
|
|||||||
return val
|
return val
|
||||||
def AssignImageList(self, *_args, **_kwargs):
|
def AssignImageList(self, *_args, **_kwargs):
|
||||||
val = gizmosc.wxTreeListCtrl_AssignImageList(self, *_args, **_kwargs)
|
val = gizmosc.wxTreeListCtrl_AssignImageList(self, *_args, **_kwargs)
|
||||||
|
_args[0].thisown = 0
|
||||||
return val
|
return val
|
||||||
def AssignStateImageList(self, *_args, **_kwargs):
|
def AssignStateImageList(self, *_args, **_kwargs):
|
||||||
val = gizmosc.wxTreeListCtrl_AssignStateImageList(self, *_args, **_kwargs)
|
val = gizmosc.wxTreeListCtrl_AssignStateImageList(self, *_args, **_kwargs)
|
||||||
|
_args[0].thisown = 0
|
||||||
return val
|
return val
|
||||||
def AssignButtonsImageList(self, *_args, **_kwargs):
|
def AssignButtonsImageList(self, *_args, **_kwargs):
|
||||||
val = gizmosc.wxTreeListCtrl_AssignButtonsImageList(self, *_args, **_kwargs)
|
val = gizmosc.wxTreeListCtrl_AssignButtonsImageList(self, *_args, **_kwargs)
|
||||||
|
_args[0].thisown = 0
|
||||||
return val
|
return val
|
||||||
def AddColumn(self, *_args, **_kwargs):
|
def AddColumn(self, *_args, **_kwargs):
|
||||||
val = gizmosc.wxTreeListCtrl_AddColumn(self, *_args, **_kwargs)
|
val = gizmosc.wxTreeListCtrl_AddColumn(self, *_args, **_kwargs)
|
||||||
|
Reference in New Issue
Block a user