From 8e1222c7cd2f1378f32b9e5ff56ad322916cb43b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 9 Aug 2006 18:50:06 +0000 Subject: [PATCH] Add wx.Rect.InsideRect git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_gdicmn.i | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wxPython/src/_gdicmn.i b/wxPython/src/_gdicmn.i index ba3aaa6970..20c67d6bf7 100644 --- a/wxPython/src/_gdicmn.i +++ b/wxPython/src/_gdicmn.i @@ -648,6 +648,12 @@ bottom, otherwise it is moved to the left or top respectively.", "", %Rename(InsideXY, bool, Inside(int x, int y) const); bool Inside(const wxPoint& pt) const; + DocDeclStrName( + bool, Inside(const wxRect& rect) const, + "Returns ``True`` if the given rectangle is completely inside this +rectangle or touches its boundary.", "", + InsideRect); + DocDeclStr( bool, Intersects(const wxRect& rect) const, "Returns True if the rectangles have a non empty intersection.", ""); -- 2.45.2