From: Robin Dunn Date: Thu, 21 Sep 2006 16:57:35 +0000 (+0000) Subject: Add comment about additional forms of Inflate(). Decide what to do X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a9b9549646a702654ca82ea4b7618c417f6d7968 Add comment about additional forms of Inflate(). Decide what to do about them later. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_gdicmn.i b/wxPython/src/_gdicmn.i index 40b3874e16..d5a4a83771 100644 --- a/wxPython/src/_gdicmn.i +++ b/wxPython/src/_gdicmn.i @@ -549,6 +549,7 @@ public: bottom = property(GetBottom, SetBottom) } + DocDeclStr( wxRect&, Inflate(wxCoord dx, wxCoord dy), "Increases the size of the rectangle. @@ -591,12 +592,21 @@ that means: :see: `Deflate` "); + // There are also these versions... + //wxRect& Inflate(const wxSize& d); + //wxRect& Inflate(wxCoord d); + + DocDeclStr( wxRect&, Deflate(wxCoord dx, wxCoord dy), "Decrease the rectangle size. This method is the opposite of `Inflate` in that Deflate(a,b) is equivalent to Inflate(-a,-b). Please refer to `Inflate` for a full description.", ""); + // There are also these versions... + //wxRect& Deflate(const wxSize& d) { return Inflate(-d.x, -d.y); } + //wxRect& Deflate(wxCoord d) { return Inflate(-d); } + DocDeclStrName( void, Offset(wxCoord dx, wxCoord dy), "Moves the rectangle by the specified offset. If dx is positive, the