From 58362b229b726030c3ef9a8360b860199530fa4e Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Sat, 1 Jun 2019 13:53:04 +0200 Subject: [PATCH] [ATL] Add CRect::PtInRect --- sdk/lib/atl/atltypes.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sdk/lib/atl/atltypes.h b/sdk/lib/atl/atltypes.h index f36f876af68..b79dcdb789c 100644 --- a/sdk/lib/atl/atltypes.h +++ b/sdk/lib/atl/atltypes.h @@ -380,7 +380,10 @@ public: ::OffsetRect(this, size.cx, size.cy); } - //BOOL PtInRect(POINT point) const throw() + BOOL PtInRect(POINT point) const throw() + { + return ::PtInRect(this, point); + } //void SetRect(int x1, int y1, int x2, int y2) throw() //void SetRectEmpty() throw() //CSize Size() const throw() -- 2.17.1