Corrections after The Great wxRegion Refactoring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -347,7 +347,7 @@ bool wxRegion::DoCombine( const wxRegion& rRegion, wxRegionOp eOp )
|
|||||||
//# Information on region
|
//# Information on region
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
bool wxRegion::DoIsEqual(const wxRegion& region) const
|
bool wxRegion::DoIsEqual(const wxRegion& WXUNUSED(region)) const
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -411,9 +411,9 @@ bool wxRegion::IsEmpty() const
|
|||||||
//
|
//
|
||||||
// Does the region contain the point pt?
|
// 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)
|
if (!m_refData)
|
||||||
return wxOutRegion;
|
return wxOutRegion;
|
||||||
@@ -437,10 +437,10 @@ wxRegionContain wxRegion::DoContainsRect(const wxRect& rect) const
|
|||||||
return wxOutRegion;
|
return wxOutRegion;
|
||||||
|
|
||||||
RECTL vRect;
|
RECTL vRect;
|
||||||
vRect.xLeft = r.x;
|
vRect.xLeft = rect.x;
|
||||||
vRect.xRight = r.x + r.width;
|
vRect.xRight = rect.x + rect.width;
|
||||||
vRect.yTop = r.y + r.height;
|
vRect.yTop = rect.y + rect.height;
|
||||||
vRect.yBottom = r.y;
|
vRect.yBottom = rect.y;
|
||||||
|
|
||||||
LONG lInside = ::GpiRectInRegion( ((wxRegionRefData*)m_refData)->m_hPS,
|
LONG lInside = ::GpiRectInRegion( ((wxRegionRefData*)m_refData)->m_hPS,
|
||||||
M_REGION,
|
M_REGION,
|
||||||
@@ -453,6 +453,7 @@ wxRegionContain wxRegion::DoContainsRect(const wxRect& rect) const
|
|||||||
case RRGN_ERROR :
|
case RRGN_ERROR :
|
||||||
default : return wxOutRegion;
|
default : return wxOutRegion;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // end of wxRegion::Contains
|
} // end of wxRegion::Contains
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user