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
This commit is contained in:
Stefan Csomor
2009-08-23 08:35:42 +00:00
parent 7a03aa0188
commit eb84a012bd

View File

@@ -390,6 +390,7 @@ pascal OSErr wxMacWindowDragTrackingHandler(
if (toplevel == NULL) if (toplevel == NULL)
break; break;
{
GetDragMouse( theDrag, &mouse, 0L ); GetDragMouse( theDrag, &mouse, 0L );
int x = mouse.h ; int x = mouse.h ;
int y = mouse.v ; int y = mouse.v ;
@@ -397,7 +398,6 @@ pascal OSErr wxMacWindowDragTrackingHandler(
localMouse.h = x; localMouse.h = x;
localMouse.v = y; localMouse.v = y;
{
wxWindow *win = NULL; wxWindow *win = NULL;
ControlPartCode controlPart; ControlPartCode controlPart;
ControlRef control = FindControlUnderMouse( localMouse, theWindow, &controlPart ); ControlRef control = FindControlUnderMouse( localMouse, theWindow, &controlPart );