From: Robin Dunn Date: Tue, 3 Oct 2006 21:30:09 +0000 (+0000) Subject: Don't deprecate Inside() yet X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ce60dd8efeb7ab36f9e4a26c7b6d852d42568357 Don't deprecate Inside() yet git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_gdicmn.i b/wxPython/src/_gdicmn.i index 61f99c065f..d481997f29 100644 --- a/wxPython/src/_gdicmn.i +++ b/wxPython/src/_gdicmn.i @@ -687,10 +687,14 @@ bottom, otherwise it is moved to the left or top respectively.", "", "Returns ``True`` if the given rectangle is completely inside this rectangle or touches its boundary.", "", ContainsRect); + %pythoncode { - Inside = wx._deprecated(Contains, "Use `Contains` instead.") - InsideXY = wx._deprecated(ContainsXY, "Use `ContainsXY` instead.") - InsideRect = wx._deprecated(ContainsRect, "Use `ContainsRect` instead.") + %#Inside = wx._deprecated(Contains, "Use `Contains` instead.") + %#InsideXY = wx._deprecated(ContainsXY, "Use `ContainsXY` instead.") + %#InsideRect = wx._deprecated(ContainsRect, "Use `ContainsRect` instead.") + Inside = Contains + InsideXY = ContainsXY + InsideRect = ContainsRect } DocDeclStr(