X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a9b9549646a702654ca82ea4b7618c417f6d7968..5f2502393e042e6e2c871ff94b7ccaf7a78b264d:/wxPython/src/_gdicmn.i diff --git a/wxPython/src/_gdicmn.i b/wxPython/src/_gdicmn.i index d5a4a83771..b887d2e0aa 100644 --- a/wxPython/src/_gdicmn.i +++ b/wxPython/src/_gdicmn.i @@ -176,6 +176,21 @@ than the corresponding dimensions of the size.", ""); "Decrements this object so that both of its dimensions are not greater than the corresponding dimensions of the size.", ""); + + DocDeclStr( + void , IncBy(int dx, int dy), + "", ""); + + + DocDeclStr( + void , DecBy(int dx, int dy), + "", ""); + +// TODO: handle these overloads too? +// void IncBy(const wxSize& sz); +// void IncBy(int d); +// void DecBy(const wxSize& sz); +// void DecBy(int d); DocDeclStr( void , Scale(float xscale, float yscale), @@ -672,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( @@ -796,6 +815,8 @@ public: %RenameCtor(Point2DCopy, wxPoint2D( const wxPoint2D &pt )); %RenameCtor(Point2DFromPoint, wxPoint2D( const wxPoint &pt )); + ~wxPoint2D(); + DocDeclAStr( void, GetFloor( int *OUTPUT , int *OUTPUT ) const, "GetFloor() -> (x,y)",