From 04d4e6846ee93f0eb6f26bee8276ad2bb771a59f Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 27 Feb 2005 14:58:09 +0000 Subject: [PATCH] ommission git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ; } -- 2.45.2