// TODO
}
+
+ HRGN m_region;
};
+#define M_REGION (((wxRegionRefData*)m_refData)->m_region)
//-----------------------------------------------------------------------------
// wxRegion
// 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;
}
// 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;
// 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;