//# Information on region
//-----------------------------------------------------------------------------
-bool wxRegion::DoIsEqual(const wxRegion& region) const
+bool wxRegion::DoIsEqual(const wxRegion& WXUNUSED(region)) const
{
return false;
}
//
// Does the region contain the point pt?
//
-wxRegionContain wxRegion::DoContainsPoint( const wxPoint& rPoint ) const
+wxRegionContain wxRegion::DoContainsPoint( wxCoord x, wxCoord y ) const
{
- POINTL vPoint = { rPoint.x, rPoint.y };
+ POINTL vPoint = { x, y };
if (!m_refData)
return wxOutRegion;
return wxOutRegion;
RECTL vRect;
- vRect.xLeft = r.x;
- vRect.xRight = r.x + r.width;
- vRect.yTop = r.y + r.height;
- vRect.yBottom = r.y;
+ vRect.xLeft = rect.x;
+ vRect.xRight = rect.x + rect.width;
+ vRect.yTop = rect.y + rect.height;
+ vRect.yBottom = rect.y;
LONG lInside = ::GpiRectInRegion( ((wxRegionRefData*)m_refData)->m_hPS,
M_REGION,
case RRGN_ERROR :
default : return wxOutRegion;
}
+
} // end of wxRegion::Contains
//