git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41477
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool wxRegionBase::IsEqual(const wxRegion& region) const
{
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;
}
{
// 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;
{
// one, but not both, of the regions is invalid
return false;