renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2006-09-13 17:06:01 +00:00
parent f6814d017b
commit 23621b352c

View File

@@ -81,6 +81,21 @@ directions but if \arg{dir} includes only \texttt{wxVERTICAL} or only
the other component of its position remains unchanged.
\membersection{wxRect::Contains}\label{wxrectcontains}
\constfunc{bool}{Contains}{\param{int }{x}, \param{int }{y}}
\constfunc{bool}{Contains}{\param{const wxPoint\& }{pt}}
Returns {\tt true} if the given point is inside the rectangle (or on its
boundary) and {\tt false} otherwise.
\constfunc{bool}{Contains}{\param{const wxRect\& }{rect}}
Returns \true if the given rectangle is completely inside this rectangle
(or touches its boundary) and \false otherwise.
\membersection{wxRect::Deflate}\label{wxrectdeflate}
\func{void}{Deflate}{\param{wxCoord }{dx}, \param{wxCoord }{dy}}
@@ -234,20 +249,6 @@ means:
\helpref{Deflate}{wxrectdeflate}
\membersection{wxRect::Inside}\label{wxrectinside}
\constfunc{bool}{Inside}{\param{int }{x}, \param{int }{y}}
\constfunc{bool}{Inside}{\param{const wxPoint\& }{pt}}
Returns {\tt true} if the given point is inside the rectangle (or on its
boundary) and {\tt false} otherwise.
\constfunc{bool}{Inside}{\param{const wxRect\& }{rect}}
Returns \true if the given rectangle is completely inside this rectangle
(or touches its boundary) and \false otherwise.
\membersection{wxRect::Intersects}\label{wxrectintersects}
\constfunc{bool}{Intersects}{\param{const wxRect\& }{rect}}