From c909e907880e14d711b2c1c144deeeeec1e394eb Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sat, 22 Nov 2008 12:39:45 +0000 Subject: [PATCH] fix docs for wxRect::Intersect overloads (fixes #4445) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/gdicmn.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/interface/wx/gdicmn.h b/interface/wx/gdicmn.h index 4872365ac3..b06c7a331e 100644 --- a/interface/wx/gdicmn.h +++ b/interface/wx/gdicmn.h @@ -311,14 +311,19 @@ public: wxRect Inflate(wxCoord dx, wxCoord dy) const; //@} - //@{ /** - Modifies the rectangle to contain the overlapping box of this rectangle + Modifies this rectangle to contain the overlapping portion of this rectangle and the one passed in as parameter. + + @return This rectangle, modified. */ - wxRect Intersect(const wxRect& rect) const; wxRect& Intersect(const wxRect& rect); - //@} + + /** + Returns the overlapping portion of this rectangle and the one passed in as + parameter. + */ + wxRect Intersect(const wxRect& rect) const; /** Returns @true if this rectangle has a non-empty intersection with the -- 2.45.2