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:
@@ -240,8 +240,9 @@ class wxDataObjectComposite : public wxDataObject {
|
||||
public:
|
||||
wxDataObjectComposite();
|
||||
|
||||
%addtofunc Add "args[1].thisown = 0"
|
||||
%apply SWIGTYPE *DISOWN { wxDataObjectSimple *dataObject };
|
||||
void Add(wxDataObjectSimple *dataObject, int preferred = False);
|
||||
%clear wxDataObjectSimple *dataObject;
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user