Added wxRegion version of wxWindowDC::SetClippingRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -288,6 +288,14 @@ wxRegionContain wxRegion::Contains(const wxRect& rect) const
|
||||
return Contains(x, y, w, h);
|
||||
}
|
||||
|
||||
// Get internal region handle
|
||||
WXHRGN wxRegion::GetHRGN() const
|
||||
{
|
||||
if (!m_refData)
|
||||
return (WXHRGN) 0;
|
||||
return (WXHRGN) M_REGION;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// wxRegionIterator //
|
||||
|
||||
Reference in New Issue
Block a user