//---------------------------------------------------------------------------
-#ifndef __WXGTK__
+#if !defined(__WXGTK__) && !defined(__WXX11__)
%{
#include <wx/metafile.h>
class wxMetafileDataObject : public wxDataObjectSimple
{
public:
- wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError); }
+ wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
};
%}