+ if ( !m_refData || !region.GetRefData() )
+ {
+ // one, but not both, of the regions is invalid
+ return false;
+ }
+
+ return DoIsEqual(region);
+}
+
+// ----------------------------------------------------------------------------
+// region to/from bitmap conversions
+// ----------------------------------------------------------------------------
+
+wxBitmap wxRegionBase::ConvertToBitmap() const