- wxCHECK_MSG( region.Ok(), false, _T("invalid region") );
- return Subtract(M_REGION_OF(region)->m_rect);
-}
-
-bool wxRegion::Xor(const wxRect& rect)
-{
- wxFAIL_MSG( _T("Xor not implemented") );
+ wxCHECK_MSG( region.IsOk(), false, "invalid region" );
+ wxFAIL_MSG( "Xor not implemented" );