gcc 4.2 warning fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-08-18 15:32:04 +00:00
parent f66ecdc4fb
commit eb1d8888a1

View File

@@ -391,6 +391,7 @@ pascal OSErr wxMacWindowDragTrackingHandler(
break;
GetDragMouse( theDrag, &mouse, 0L );
{
int x = mouse.h ;
int y = mouse.v ;
toplevel->GetNonOwnedPeer()->ScreenToWindow( &x, &y );
@@ -504,6 +505,7 @@ pascal OSErr wxMacWindowDragTrackingHandler(
}
}
}
}
break;
case kDragTrackingLeaveWindow: