ole32: Remove curDragTargetHWND since it's never used.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5ccf039fc7
commit
bf8e8f56f5
|
@ -68,7 +68,6 @@ typedef struct tagTrackerWindowInfo
|
||||||
|
|
||||||
BOOL escPressed;
|
BOOL escPressed;
|
||||||
HWND curTargetHWND; /* window the mouse is hovering over */
|
HWND curTargetHWND; /* window the mouse is hovering over */
|
||||||
HWND curDragTargetHWND; /* might be an ancestor of curTargetHWND */
|
|
||||||
IDropTarget* curDragTarget;
|
IDropTarget* curDragTarget;
|
||||||
POINTL curMousePos; /* current position of the mouse in screen coordinates */
|
POINTL curMousePos; /* current position of the mouse in screen coordinates */
|
||||||
DWORD dwKeyState; /* current state of the shift and ctrl keys and the mouse buttons */
|
DWORD dwKeyState; /* current state of the shift and ctrl keys and the mouse buttons */
|
||||||
|
@ -770,7 +769,6 @@ HRESULT WINAPI DoDragDrop (
|
||||||
trackerInfo.pdwEffect = pdwEffect;
|
trackerInfo.pdwEffect = pdwEffect;
|
||||||
trackerInfo.trackingDone = FALSE;
|
trackerInfo.trackingDone = FALSE;
|
||||||
trackerInfo.escPressed = FALSE;
|
trackerInfo.escPressed = FALSE;
|
||||||
trackerInfo.curDragTargetHWND = 0;
|
|
||||||
trackerInfo.curTargetHWND = 0;
|
trackerInfo.curTargetHWND = 0;
|
||||||
trackerInfo.curDragTarget = 0;
|
trackerInfo.curDragTarget = 0;
|
||||||
|
|
||||||
|
@ -2255,7 +2253,6 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
|
||||||
|
|
||||||
if (next_target_wnd) hwndNewTarget = next_target_wnd;
|
if (next_target_wnd) hwndNewTarget = next_target_wnd;
|
||||||
|
|
||||||
trackerInfo->curDragTargetHWND = hwndNewTarget;
|
|
||||||
if(trackerInfo->curDragTarget) IDropTarget_Release(trackerInfo->curDragTarget);
|
if(trackerInfo->curDragTarget) IDropTarget_Release(trackerInfo->curDragTarget);
|
||||||
trackerInfo->curDragTarget = get_droptarget_pointer(hwndNewTarget);
|
trackerInfo->curDragTarget = get_droptarget_pointer(hwndNewTarget);
|
||||||
|
|
||||||
|
@ -2274,7 +2271,6 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
|
||||||
/* failed DragEnter() means invalid target */
|
/* failed DragEnter() means invalid target */
|
||||||
if (hr != S_OK)
|
if (hr != S_OK)
|
||||||
{
|
{
|
||||||
trackerInfo->curDragTargetHWND = 0;
|
|
||||||
trackerInfo->curTargetHWND = 0;
|
trackerInfo->curTargetHWND = 0;
|
||||||
IDropTarget_Release(trackerInfo->curDragTarget);
|
IDropTarget_Release(trackerInfo->curDragTarget);
|
||||||
trackerInfo->curDragTarget = 0;
|
trackerInfo->curDragTarget = 0;
|
||||||
|
@ -2286,7 +2282,6 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
|
||||||
/*
|
/*
|
||||||
* The mouse is not over a window so we don't track anything.
|
* The mouse is not over a window so we don't track anything.
|
||||||
*/
|
*/
|
||||||
trackerInfo->curDragTargetHWND = 0;
|
|
||||||
trackerInfo->curTargetHWND = 0;
|
trackerInfo->curTargetHWND = 0;
|
||||||
if(trackerInfo->curDragTarget) IDropTarget_Release(trackerInfo->curDragTarget);
|
if(trackerInfo->curDragTarget) IDropTarget_Release(trackerInfo->curDragTarget);
|
||||||
trackerInfo->curDragTarget = 0;
|
trackerInfo->curDragTarget = 0;
|
||||||
|
|
Loading…
Reference in New Issue