wxRect::union and docstring fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-12-13 22:38:06 +00:00
parent 7344726a7a
commit 9eefe9f085

View File

@@ -485,13 +485,13 @@ public:
DocDeclStr( DocDeclStr(
wxRect&, Inflate(wxCoord dx, wxCoord dy), wxRect&, Inflate(wxCoord dx, wxCoord dy),
"Increase the rectangle size by dx in x direction and dy in y "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.", ""); rectangle size.", "");
DocDeclStr( DocDeclStr(
wxRect&, Deflate(wxCoord dx, wxCoord dy), wxRect&, Deflate(wxCoord dx, wxCoord dy),
"Decrease the rectangle size by dx in x direction and dy in y "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.", ""); rectngle size. This method is the opposite of Inflate.", "");
DocDeclStrName( 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", ""); "Same as OffsetXY but uses dx,dy from Point", "");
DocDeclStr( DocDeclStr(
wxRect&, Intersect(const wxRect& rect), wxRect, Intersect(const wxRect& rect),
"Return the intersectsion of this rectangle and rect.", ""); "Returns the intersectsion of this rectangle and rect.", "");
DocDeclStr(
wxRect , Union(const wxRect& rect),
"Returns the union of this rectangle and rect.", "");
DocDeclStr( DocDeclStr(
wxRect, operator+(const wxRect& rect) const, wxRect, operator+(const wxRect& rect) const,
"Add the properties of rect to this rectangle and return the result.", ""); "Add the properties of rect to this rectangle and return the result.", "");