X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a72f4631fe5ab7ebeefdacf8ec9c826ea962133f..6bda7508c6e41365b69fdf690b3070991098a7af:/wxPython/src/_gdicmn.i diff --git a/wxPython/src/_gdicmn.i b/wxPython/src/_gdicmn.i index c62c8c7c10..a80f17890f 100644 --- a/wxPython/src/_gdicmn.i +++ b/wxPython/src/_gdicmn.i @@ -427,7 +427,12 @@ public: wxRect(const wxPoint& pos, const wxSize& size), "Create a new Rect from a position and size.", "", RectPS); - + + DocCtorStrName( + wxRect(const wxSize& size), + "Create a new Rect from a size only.", "", + RectS); + ~wxRect(); int GetX() const; @@ -480,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( @@ -501,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.", "");