- %name(RegionFromBitmap)wxRegion(const wxBitmap& bmp,
- const wxColour& transColour = wxNullColour,
- int tolerance = 0);
-#ifndef __WXMAC__
- %name(RegionFromPoints)wxRegion(int points, wxPoint* points_array,
- int fillStyle = wxWINDING_RULE);
-#else
- %extend {
- %name(RegionFromPoints)wxRegion(int points, wxPoint* points_array,
- int fillStyle = wxWINDING_RULE) {
- PyErr_SetNone(PyExc_NotImplementedError);
- return NULL;
- }
- }
-#endif
+ %RenameCtor(RegionFromBitmap, wxRegion(const wxBitmap& bmp));
+ %RenameCtor(RegionFromBitmapColour, wxRegion(const wxBitmap& bmp,
+ const wxColour& transColour,
+ int tolerance = 0));
+ %RenameCtor(RegionFromPoints, wxRegion(int points, wxPoint* points_array,
+ int fillStyle = wxWINDING_RULE));