]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_region.i
New wxDesigner-less version of the MimeTypesManager demo
[wxWidgets.git] / wxPython / src / _region.i
index 714aba481bf1425fb5a5d056379e0859bdddad1d..55a9cc4834a38dde4b67b6b92c5c089cdd14f53f 100644 (file)
@@ -54,7 +54,7 @@ public:
     %extend {
         %name(RegionFromPoints)wxRegion(int points, wxPoint* points_array,
                                         int fillStyle = wxWINDING_RULE) {
-            PyErr_SetNone(PyExc_NotImplementedError);
+            wxPyRaiseNotImplemented();
             return NULL;
         }
     }