WinCE build fix: access to protected member.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-09-27 11:53:50 +00:00
parent a5f9094e25
commit 81e4cb8bdf

View File

@@ -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;