X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3eb221f6ddaa07c971d1701d6e47627f16427ca9..bffe56c5d19df9926686722fc09ad096afb47633:/wxPython/src/gdi.i?ds=sidebyside diff --git a/wxPython/src/gdi.i b/wxPython/src/gdi.i index a47f4a3362..0aeb10e711 100644 --- a/wxPython/src/gdi.i +++ b/wxPython/src/gdi.i @@ -586,6 +586,7 @@ public: int fill_style=wxODDEVEN_RULE); void DrawPoint(long x, long y); void DrawRectangle(long x, long y, long width, long height); + %name(DrawRectangleRect)void DrawRectangle(const wxRect& rect); void DrawRotatedText(const wxString& text, wxCoord x, wxCoord y, double angle); void DrawRoundedRectangle(long x, long y, long width, long height, long radius=20); void DrawSpline(int PCOUNT, wxPoint* points); @@ -637,6 +638,7 @@ public: void SetBackgroundMode(int mode); void SetClippingRegion(long x, long y, long width, long height); %name(SetClippingRegionAsRegion) void SetClippingRegion(const wxRegion& region); + %name(SetClippingRect) void SetClippingRegion(const wxRect& rect); void SetPalette(const wxPalette& colourMap); void SetBrush(const wxBrush& brush); void SetFont(const wxFont& font);