%nokwargs operator==;
%nokwargs operator!=;
- bool operator==(wxDataFormatId format) const;
- bool operator!=(wxDataFormatId format) const;
+ bool operator==(int /*wxDataFormatId*/ format) const;
+ bool operator!=(int /*wxDataFormatId*/ format) const;
bool operator==(const wxDataFormat& format) const;
bool operator!=(const wxDataFormat& format) const;
public:
wxDataObjectComposite();
- %addtofunc Add "args[1].thisown = 0"
+ %apply SWIGTYPE *DISOWN { wxDataObjectSimple *dataObject };
void Add(wxDataObjectSimple *dataObject, int preferred = False);
+ %clear wxDataObjectSimple *dataObject;
};
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
-#ifndef __WXGTK__
+#if defined(__WXMSW__) || defined(__WXMAC__)
%{
#include <wx/metafile.h>