]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/region.cpp
Added missing '!' to HasCapture() in window.cpp
[wxWidgets.git] / src / gtk1 / region.cpp
index b89afd3b4ce9e686fecf7c75de49c929a9ed82e6..e71f072e8c70ccc21a0f3edc53daa34dc9f730ae 100644 (file)
@@ -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)