X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..8da2ab99009877d864c19b1ad90a9c0d02c61e2e:/wxPython/src/_region.i?ds=sidebyside 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; } }