]> git.saurik.com Git - wxWidgets.git/commitdiff
we're always compositing
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 11 Aug 2006 04:29:11 +0000 (04:29 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 11 Aug 2006 04:29:11 +0000 (04:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toolbar.cpp

index b4702c6dafb929bed83eaafd37a7fa80a9375b3f..cbc918a1011ccb127d382e976facf7d1509bf621 100644 (file)
@@ -392,13 +392,6 @@ void wxToolBarTool::SetPosition( const wxPoint& position )
     int mac_x = position.x;
     int mac_y = position.y;
 
-    if ( ! GetToolBar()->MacGetTopLevelWindow()->MacUsesCompositing() )
-    {
-        GetToolBar()->MacWindowToRootWindow( &x, &y );
-        mac_x += x;
-        mac_y += y;
-    }
-
     if ( IsButton() )
     {
         Rect contrlRect;