From: Vadim Zeitlin Date: Mon, 25 Sep 2006 17:30:48 +0000 (+0000) Subject: compilation fix after last change X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/22143f7164e14a4473cb8f1784d17c12aa66e548 compilation fix after last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/region.cpp b/src/mac/carbon/region.cpp index 8bbc439e8e..08d061c295 100644 --- a/src/mac/carbon/region.cpp +++ b/src/mac/carbon/region.cpp @@ -270,7 +270,7 @@ wxRegionContain wxRegion::DoContainsRect(const wxRect& r) const if (!m_refData) return wxOutRegion; - Rect rect = { r.y , r.x , r.y + r.h , r.x + r.w } ; + Rect rect = { r.y , r.x , r.y + r.height , r.x + r.width } ; if (RectInRgn( &rect , M_REGION ) ) return wxInRegion; else