Added wxRegion::Offset(x,y)
Go to plan B: wxWindow::Scroll() now moved the m_updateRegion for later processing. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -516,6 +516,16 @@ wxRect wxRegion::GetBox() const
|
||||
return wxRect( x, y, w, h );
|
||||
}
|
||||
|
||||
bool wxRegion::Offset( wxCoord x, wxCoord y )
|
||||
{
|
||||
if (!m_refData)
|
||||
return FALSE;
|
||||
|
||||
gdk_region_offset( M_REGIONDATA->m_region, x, y );
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
bool wxRegion::Empty() const
|
||||
{
|
||||
if (!m_refData)
|
||||
|
Reference in New Issue
Block a user