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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user