Use the DISOWN typemap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8668c24280
commit
45da8bb7c7
@ -543,15 +543,11 @@ public:
|
|||||||
void SetStateImageList(wxImageList *imageList);
|
void SetStateImageList(wxImageList *imageList);
|
||||||
void SetButtonsImageList(wxImageList *imageList);
|
void SetButtonsImageList(wxImageList *imageList);
|
||||||
|
|
||||||
%addtofunc AssignImageList "args[1].thisown = 0";
|
%apply SWIGTYPE *DISOWN { wxImageList *imageList };
|
||||||
void AssignImageList(wxImageList *imageList);
|
void AssignImageList(wxImageList *imageList);
|
||||||
|
|
||||||
%addtofunc AssignStateImageList "args[1].thisown = 0";
|
|
||||||
void AssignStateImageList(wxImageList *imageList);
|
void AssignStateImageList(wxImageList *imageList);
|
||||||
|
|
||||||
%addtofunc AssignButtonsImageList "args[1].thisown = 0";
|
|
||||||
void AssignButtonsImageList(wxImageList *imageList);
|
void AssignButtonsImageList(wxImageList *imageList);
|
||||||
|
%clear wxImageList *imageList;
|
||||||
|
|
||||||
|
|
||||||
// adds a column
|
// adds a column
|
||||||
|
Loading…
Reference in New Issue
Block a user