From: Stefan Csomor Date: Sun, 27 Feb 2005 14:58:09 +0000 (+0000) Subject: ommission X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/04d4e6846ee93f0eb6f26bee8276ad2bb771a59f?ds=inline ommission git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index ba71652f8d..90f2f464ef 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -1795,7 +1795,7 @@ wxPoint wxWindowMac::GetClientAreaOrigin() const { RgnHandle rgn = NewRgn() ; Rect content ; - if ( m_peer->GetRegion( kControlContentMetaPart , rgn ) ) + if ( m_peer->GetRegion( kControlContentMetaPart , rgn ) == noErr ) { GetRegionBounds( rgn , &content ) ; }