git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2005-02-27 09:49:19 +00:00
parent 789ae0cfa2
commit 02a55765c4
3 changed files with 3 additions and 3 deletions

View File

@@ -247,7 +247,6 @@ void wxToolBarTool::SetPosition(const wxPoint& position)
if ( ! GetToolBar()->MacGetTopLevelWindow()->MacUsesCompositing() )
{
WindowRef rootwindow = (WindowRef) GetToolBar()->MacGetTopLevelWindowRef() ;
GetToolBar()->MacWindowToRootWindow( &x , &y ) ;
mac_x += x;
mac_y += y;