From b86db821bf1d67c15f87c5343134170a39a363d1 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 11 Aug 2006 04:29:11 +0000 Subject: [PATCH] we're always compositing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/toolbar.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/mac/carbon/toolbar.cpp b/src/mac/carbon/toolbar.cpp index b4702c6daf..cbc918a101 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -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; -- 2.45.2