From: Robin Dunn Date: Tue, 2 Nov 2010 03:07:35 +0000 (+0000) Subject: Fix return types on wxRect::Inflate and Deflate X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6cb2477d9fe9b74b98ec8c02b36a5346d3b3e271 Fix return types on wxRect::Inflate and Deflate git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/gdicmn.h b/interface/wx/gdicmn.h index 867a0c4ed1..3a7d1acfc9 100644 --- a/interface/wx/gdicmn.h +++ b/interface/wx/gdicmn.h @@ -266,10 +266,10 @@ public: This method is the opposite from Inflate(): Deflate(a, b) is equivalent to Inflate(-a, -b). Please refer to Inflate() for full description. */ - void Deflate(wxCoord dx, wxCoord dy); - void Deflate(const wxSize& diff); - void Deflate(wxCoord diff); - wxRect Deflate(wxCoord dx, wxCoord dy) const; + wxRect& Deflate(wxCoord dx, wxCoord dy); + wxRect& Deflate(const wxSize& diff); + wxRect& Deflate(wxCoord diff); + wxRect Deflate(wxCoord dx, wxCoord dy) const; //@} /** @@ -374,9 +374,9 @@ public: @see Deflate() */ - void Inflate(wxCoord dx, wxCoord dy); - void Inflate(const wxSize& diff); - void Inflate(wxCoord diff); + wxRect& Inflate(wxCoord dx, wxCoord dy); + wxRect& Inflate(const wxSize& diff); + wxRect& Inflate(wxCoord diff); wxRect Inflate(wxCoord dx, wxCoord dy) const; //@}