]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_region.i
reSWIGged
[wxWidgets.git] / wxPython / src / _region.i
index 714aba481bf1425fb5a5d056379e0859bdddad1d..29f18cb67754105f8adb3b0238220214a70e5474 100644 (file)
@@ -41,6 +41,8 @@ enum wxRegionContain
 
 
 
+MustHaveApp(wxRegion);
+
 class wxRegion : public wxGDIObject {
 public:
     wxRegion(wxCoord x=0, wxCoord y=0, wxCoord width=0, wxCoord height=0);
@@ -54,7 +56,7 @@ public:
     %extend {
         %name(RegionFromPoints)wxRegion(int points, wxPoint* points_array,
                                         int fillStyle = wxWINDING_RULE) {
-            PyErr_SetNone(PyExc_NotImplementedError);
+            wxPyRaiseNotImplemented();
             return NULL;
         }
     }
@@ -108,6 +110,8 @@ public:
 
 
 
+MustHaveApp(wxRegionIterator);
+
 class wxRegionIterator : public wxObject {
 public:
     wxRegionIterator(const wxRegion& region);