]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/gdi_wrap.cpp
Added XML simplification scripts for generating the wxPython metadata xml.
[wxWidgets.git] / wxPython / src / gtk / gdi_wrap.cpp
index 192c5ee3b524f9e0f8d2e565680ed94ddf68e6e2..25ef390e2ad02a4e5c3d6a19a0bc465226ded334 100644 (file)
@@ -575,13 +575,13 @@ static void wxDC_GetBoundingBox(wxDC* dc, int* x1, int* y1, int* x2, int* y2) {
 class wxMetaFile : public wxObject {
 public:
     wxMetaFile(const wxString&)
-        { PyErr_SetNone(PyExc_NotImplementedError); }
+        { wxPyRaiseNotImplemented(); }
 };
 
 class wxMetaFileDC : public wxClientDC {
 public:
     wxMetaFileDC(const wxString&, int, int, const wxString&)
-        { PyErr_SetNone(PyExc_NotImplementedError); }
+        { wxPyRaiseNotImplemented(); }
 };
 
 
@@ -589,10 +589,10 @@ public:
 class  wxPrinterDC : public wxClientDC {
 public:
     wxPrinterDC(const wxPrintData&)
-        { PyErr_SetNone(PyExc_NotImplementedError); }
+        { wxPyRaiseNotImplemented(); }
     
 //     wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
-//         { PyErr_SetNone(PyExc_NotImplementedError); }
+//         { wxPyRaiseNotImplemented(); }
 };