From: Włodzimierz Skiba Date: Wed, 27 Sep 2006 11:53:50 +0000 (+0000) Subject: WinCE build fix: access to protected member. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/81e4cb8bdfe9f52259ecc24f18563316c6f61906?ds=sidebyside WinCE build fix: access to protected member. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/rgncmn.cpp b/src/common/rgncmn.cpp index cee89a91c2..8b6530c78d 100644 --- a/src/common/rgncmn.cpp +++ b/src/common/rgncmn.cpp @@ -38,13 +38,13 @@ bool wxRegionBase::IsEqual(const wxRegion& region) const { - if ( m_refData == region.m_refData ) + if ( m_refData == region.GetRefData() ) { // regions are identical, hence equal return true; } - if ( !m_refData || !region.m_refData ) + if ( !m_refData || !region.GetRefData() ) { // one, but not both, of the regions is invalid return false;