Use the DISOWN typemap

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-01-27 00:52:47 +00:00
parent 7b466aee08
commit 8668c24280
7 changed files with 21 additions and 10 deletions

View File

@@ -371,10 +371,10 @@ public:
void SetImageList(wxImageList *imageList);
void SetStateImageList(wxImageList *imageList);
%addtofunc AssignImageList "args[1].thisown = 0";
%addtofunc AssignStateImageList "args[1].thisown = 0";
%apply SWIGTYPE *DISOWN { wxImageList *imageList };
void AssignImageList(wxImageList *imageList);
void AssignStateImageList(wxImageList *imageList);
%clear wxImageList *imageList;
// retrieve items label