-wxRegionContain wxRegion::Contains( long x, long y, long w, long h ) const
+wxRegionContain wxRegion::Contains(const wxPoint& pt) const
+{
+ return Contains( pt.x, pt.y );
+}
+
+wxRegionContain wxRegion::Contains(const wxRect& rect) const
+{
+ return Contains( rect.x, rect.y, rect.width, rect.height );
+}
+
+GdkRegion *wxRegion::GetRegion() const
+{
+ if (!m_refData)
+ return (GdkRegion*) NULL;
+
+ return M_REGIONDATA->m_region;
+}
+
+wxList *wxRegion::GetRectList() const
+{
+ if (!m_refData)
+ return (wxList*) NULL;
+
+ return &(M_REGIONDATA->m_rects);
+}
+
+//-----------------------------------------------------------------------------
+// wxRegion
+//-----------------------------------------------------------------------------
+
+IMPLEMENT_DYNAMIC_CLASS(wxRegionIterator,wxObject);
+
+wxRegionIterator::wxRegionIterator()
+{
+ Reset();
+}
+
+wxRegionIterator::wxRegionIterator( const wxRegion& region )
+{
+ Reset(region);
+}
+
+void wxRegionIterator::Reset( const wxRegion& region )
+{
+ m_region = region;
+ Reset();
+}
+
+wxRegionIterator::operator bool () const