diff --git a/src/osx/carbon/region.cpp b/src/osx/carbon/region.cpp index 448ae707a9..b9ed81e869 100644 --- a/src/osx/carbon/region.cpp +++ b/src/osx/carbon/region.cpp @@ -247,7 +247,7 @@ bool wxRegion::DoIsEqual(const wxRegion& region) const // There doesn't seem to be any native function for checking the equality // of HIShapes so we compute their differences to determine if they are // equal. - wxRegion r(this); + wxRegion r(*this); r.Subtract(region); if ( !r.IsEmpty() )