From 33ffdd72914e136a87d6866aafd88039ac0978f6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 29 Jul 2002 20:02:18 +0000 Subject: [PATCH] Added some rectangle based method overloads git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/gdi.i | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.45.2