*** empty log message ***

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
1999-10-17 17:23:27 +00:00
parent eb38f734d2
commit 04701dd94f
8 changed files with 46 additions and 16 deletions

View File

@@ -44,8 +44,11 @@ public:
// TODO
}
HRGN m_region;
};
#define M_REGION (((wxRegionRefData*)m_refData)->m_region)
//-----------------------------------------------------------------------------
// wxRegion
@@ -224,11 +227,12 @@ bool wxRegion::Empty() const
// Does the region contain the point (x,y)?
wxRegionContain wxRegion::Contains(long x, long y) const
{
bool bOK = FALSE; // temporary
if (!m_refData)
return wxOutRegion;
// TODO. Return wxInRegion if within region.
if (0)
if (bOK)
return wxInRegion;
return wxOutRegion;
}
@@ -236,11 +240,12 @@ wxRegionContain wxRegion::Contains(long x, long y) const
// Does the region contain the point pt?
wxRegionContain wxRegion::Contains(const wxPoint& pt) const
{
bool bOK = FALSE; // temporary
if (!m_refData)
return wxOutRegion;
// TODO. Return wxInRegion if within region.
if (0)
if (bOK)
return wxInRegion;
else
return wxOutRegion;
@@ -249,11 +254,12 @@ wxRegionContain wxRegion::Contains(const wxPoint& pt) const
// Does the region contain the rectangle (x, y, w, h)?
wxRegionContain wxRegion::Contains(long x, long y, long w, long h) const
{
bool bOK = FALSE; // temporary
if (!m_refData)
return wxOutRegion;
// TODO. Return wxInRegion if within region.
if (0)
if (bOK)
return wxInRegion;
else
return wxOutRegion;