add Inflate(wxSize) overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -386,6 +386,7 @@ public:
|
||||
|
||||
// operations with rect
|
||||
wxRect& Inflate(wxCoord dx, wxCoord dy);
|
||||
wxRect& Inflate(const wxSize& d) { return Inflate(d.x, d.y); }
|
||||
wxRect& Inflate(wxCoord d) { return Inflate(d, d); }
|
||||
wxRect Inflate(wxCoord dx, wxCoord dy) const
|
||||
{
|
||||
@@ -395,6 +396,7 @@ public:
|
||||
}
|
||||
|
||||
wxRect& Deflate(wxCoord dx, wxCoord dy) { return Inflate(-dx, -dy); }
|
||||
wxRect& Deflate(const wxSize& d) { return Inflate(-d.x, -d.y); }
|
||||
wxRect& Deflate(wxCoord d) { return Inflate(-d); }
|
||||
wxRect Deflate(wxCoord dx, wxCoord dy) const
|
||||
{
|
||||
|
Reference in New Issue
Block a user