From 9eefe9f0850b000d52f8a91d84e1d36041c139db Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 13 Dec 2004 22:38:06 +0000 Subject: [PATCH] wxRect::union and docstring fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_gdicmn.i | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/wxPython/src/_gdicmn.i b/wxPython/src/_gdicmn.i index 37fd6107d0..a80f17890f 100644 --- a/wxPython/src/_gdicmn.i +++ b/wxPython/src/_gdicmn.i @@ -485,13 +485,13 @@ public: DocDeclStr( wxRect&, Inflate(wxCoord dx, wxCoord dy), "Increase the rectangle size by dx in x direction and dy in y -direction. Both or one of) parameters may be negative to decrease the +direction. Both (or one of) parameters may be negative to decrease the rectangle size.", ""); DocDeclStr( wxRect&, Deflate(wxCoord dx, wxCoord dy), "Decrease the rectangle size by dx in x direction and dy in y -direction. Both or one of) parameters may be negative to increase the +direction. Both (or one of) parameters may be negative to increase the rectngle size. This method is the opposite of Inflate.", ""); DocDeclStrName( @@ -506,9 +506,14 @@ bottom, otherwise it is moved to the left or top respectively.", "", "Same as OffsetXY but uses dx,dy from Point", ""); DocDeclStr( - wxRect&, Intersect(const wxRect& rect), - "Return the intersectsion of this rectangle and rect.", ""); + wxRect, Intersect(const wxRect& rect), + "Returns the intersectsion of this rectangle and rect.", ""); + DocDeclStr( + wxRect , Union(const wxRect& rect), + "Returns the union of this rectangle and rect.", ""); + + DocDeclStr( wxRect, operator+(const wxRect& rect) const, "Add the properties of rect to this rectangle and return the result.", ""); -- 2.45.2