X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0db43f1ab63b61d34953adcc23856cf881113eff..3fd864a139e5f141d5485fcb69907fdeaade2993:/src/mac/carbon/uma.cpp diff --git a/src/mac/carbon/uma.cpp b/src/mac/carbon/uma.cpp index fbaf85cd85..7da19bddc9 100644 --- a/src/mac/carbon/uma.cpp +++ b/src/mac/carbon/uma.cpp @@ -48,8 +48,6 @@ static bool sUMAHasAquaLayout = false ; static bool sUMAHasInittedAppearance = false; -extern int gAGABackgroundColor ; - bool UMAHasAppearance() { return sUMAHasAppearance ; } long UMAGetAppearanceVersion() { return sUMAAppearanceVersion ; } long UMAGetSystemVersion() { return sUMASystemVersion ; } @@ -854,7 +852,7 @@ Rect * UMAGetControlBoundsInWindowCoords( ControlRef theControl, Rect *bounds ) WindowRef tlwref = GetControlOwner( theControl ) ; wxTopLevelWindowMac* tlwwx = wxFindWinFromMacWindow( tlwref ) ; - if ( tlwwx != NULL && tlwwx->MacUsesCompositing() ) + if ( tlwwx != NULL ) { ControlRef rootControl = tlwwx->GetPeer()->GetControlRef() ; HIPoint hiPoint = CGPointMake( 0 , 0 ) ;