https://git.reactos.org/?p=reactos.git;a=commitdiff;h=58362b229b726030c3ef9…
commit 58362b229b726030c3ef9a8360b860199530fa4e
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sat Jun 1 13:53:04 2019 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Wed Jun 26 21:20:43 2019 +0200
[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()