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
This commit is contained in:
@@ -549,6 +549,7 @@ public:
|
|||||||
bottom = property(GetBottom, SetBottom)
|
bottom = property(GetBottom, SetBottom)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
wxRect&, Inflate(wxCoord dx, wxCoord dy),
|
wxRect&, Inflate(wxCoord dx, wxCoord dy),
|
||||||
"Increases the size of the rectangle.
|
"Increases the size of the rectangle.
|
||||||
@@ -591,12 +592,21 @@ that means:
|
|||||||
:see: `Deflate`
|
:see: `Deflate`
|
||||||
");
|
");
|
||||||
|
|
||||||
|
// There are also these versions...
|
||||||
|
//wxRect& Inflate(const wxSize& d);
|
||||||
|
//wxRect& Inflate(wxCoord d);
|
||||||
|
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
wxRect&, Deflate(wxCoord dx, wxCoord dy),
|
wxRect&, Deflate(wxCoord dx, wxCoord dy),
|
||||||
"Decrease the rectangle size. This method is the opposite of `Inflate`
|
"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
|
in that Deflate(a,b) is equivalent to Inflate(-a,-b). Please refer to
|
||||||
`Inflate` for a full description.", "");
|
`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(
|
DocDeclStrName(
|
||||||
void, Offset(wxCoord dx, wxCoord dy),
|
void, Offset(wxCoord dx, wxCoord dy),
|
||||||
"Moves the rectangle by the specified offset. If dx is positive, the
|
"Moves the rectangle by the specified offset. If dx is positive, the
|
||||||
|
Reference in New Issue
Block a user