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:
@@ -391,6 +391,7 @@ pascal OSErr wxMacWindowDragTrackingHandler(
|
|||||||
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 ;
|
||||||
toplevel->GetNonOwnedPeer()->ScreenToWindow( &x, &y );
|
toplevel->GetNonOwnedPeer()->ScreenToWindow( &x, &y );
|
||||||
@@ -504,6 +505,7 @@ pascal OSErr wxMacWindowDragTrackingHandler(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case kDragTrackingLeaveWindow:
|
case kDragTrackingLeaveWindow:
|
||||||
|
Reference in New Issue
Block a user