X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd9f7fea29e3f8bb61861f52984b7943512346ac..d2f9bbfd438290b2f2e862dd6a20b0cef3678a44:/wxPython/src/_dataobj.i diff --git a/wxPython/src/_dataobj.i b/wxPython/src/_dataobj.i index 56aaaa09b9..2f0896a208 100644 --- a/wxPython/src/_dataobj.i +++ b/wxPython/src/_dataobj.i @@ -424,7 +424,7 @@ public: //--------------------------------------------------------------------------- -#ifndef __WXGTK__ +#if !defined(__WXGTK__) && !defined(__WXX11__) %{ #include @@ -445,7 +445,7 @@ public: class wxMetafileDataObject : public wxDataObjectSimple { public: - wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError); } + wxMetafileDataObject() { wxPyRaiseNotImplemented(); } }; %}