+#ifndef WX_PRECOMP
+ #include "wx/dcmemory.h"
+ #include "wx/bitmap.h"
+ #include "wx/image.h"
+#endif //WX_PRECOMP
+
+// ============================================================================
+// wxRegionBase implementation
+// ============================================================================
+
+// ----------------------------------------------------------------------------
+// region comparision
+// ----------------------------------------------------------------------------
+
+bool wxRegionBase::IsEqual(const wxRegion& region) const
+{
+ if ( m_refData == region.GetRefData() )
+ {
+ // regions are identical, hence equal
+ return true;
+ }