X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5549e9f76fb5cbfb2a2190980983bcebea132a2e..38fc0d9db91fadcd52aeee27a99a7656973584ff:/src/gtk1/region.cpp diff --git a/src/gtk1/region.cpp b/src/gtk1/region.cpp index b89afd3b4c..e71f072e8c 100644 --- a/src/gtk1/region.cpp +++ b/src/gtk1/region.cpp @@ -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)