%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;
//---------------------------------------------------------------------------
-#ifndef __WXGTK__
+#if defined(__WXMSW__) || defined(__WXMAC__)
%{
#include <wx/metafile.h>
class wxMetafileDataObject : public wxDataObjectSimple
{
public:
- wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError); }
+ wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
};
%}