From eb84a012bdcf768895f80be8a1eef877be2a5d7f Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 23 Aug 2009 08:35:42 +0000 Subject: [PATCH] gcc 4.2 fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_9_0_BRANCH@61739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/dnd.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/osx/carbon/dnd.cpp b/src/osx/carbon/dnd.cpp index 1c06491e9a..8fed3c2ee8 100644 --- a/src/osx/carbon/dnd.cpp +++ b/src/osx/carbon/dnd.cpp @@ -390,14 +390,14 @@ pascal OSErr wxMacWindowDragTrackingHandler( if (toplevel == NULL) break; - GetDragMouse( theDrag, &mouse, 0L ); - int x = mouse.h ; - int y = mouse.v ; - toplevel->GetNonOwnedPeer()->ScreenToWindow( &x, &y ); - localMouse.h = x; - localMouse.v = y; - { + GetDragMouse( theDrag, &mouse, 0L ); + int x = mouse.h ; + int y = mouse.v ; + toplevel->GetNonOwnedPeer()->ScreenToWindow( &x, &y ); + localMouse.h = x; + localMouse.v = y; + wxWindow *win = NULL; ControlPartCode controlPart; ControlRef control = FindControlUnderMouse( localMouse, theWindow, &controlPart );