]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/uma.cpp
Implementing column click event handler and SortItems function for native list ctrl.
[wxWidgets.git] / src / mac / carbon / uma.cpp
index fbaf85cd85f4f2ee8127e95b7d4b83b185723572..7da19bddc940e9b0552a6afd0452ec885ea37b94 100644 (file)
@@ -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 ) ;