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:
Robin Dunn 2004-01-27 01:00:54 +00:00
parent 8668c24280
commit 45da8bb7c7

View File

@ -543,15 +543,11 @@ public:
void SetStateImageList(wxImageList *imageList);
void SetButtonsImageList(wxImageList *imageList);
%addtofunc AssignImageList "args[1].thisown = 0";
%apply SWIGTYPE *DISOWN { wxImageList *imageList };
void AssignImageList(wxImageList *imageList);
%addtofunc AssignStateImageList "args[1].thisown = 0";
void AssignStateImageList(wxImageList *imageList);
%addtofunc AssignButtonsImageList "args[1].thisown = 0";
void AssignButtonsImageList(wxImageList *imageList);
%clear wxImageList *imageList;
// adds a column