X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8efb290702e37f49e61a5917e9d59f41bceb1927..e3141a349e438c71338085ea2e713e716ca2c613:/include/wx/gdicmn.h diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index bc7cd6d114..8462c37eb2 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -417,6 +417,8 @@ public: // return true if the point is (not strcitly) inside the rect bool Inside(int x, int y) const; bool Inside(const wxPoint& pt) const { return Inside(pt.x, pt.y); } + // return true if the rectangle is (not strcitly) inside the rect + bool Inside(const wxRect& rect) const; // return true if the rectangles have a non empty intersection bool Intersects(const wxRect& rect) const;