X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..3c8ad70ad4de074ff95b5e3629ebc272551921c0:/wxPython/src/_region.i diff --git a/wxPython/src/_region.i b/wxPython/src/_region.i index 714aba481b..55a9cc4834 100644 --- a/wxPython/src/_region.i +++ b/wxPython/src/_region.i @@ -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; } }