Reverted r680.

This commit is contained in:
spx 2010-12-24 10:06:25 +00:00
parent c2b16bd47d
commit 35174f0f4a

View File

@ -3061,7 +3061,7 @@ LRESULT CMeterWindow::OnMouseMove(UINT uMsg, WPARAM wParam, LPARAM lParam)
if (!m_ClickThrough || keyDown) if (!m_ClickThrough || keyDown)
{ {
POINT pos, cpos; POINT pos;
pos.x = (SHORT)LOWORD(lParam); pos.x = (SHORT)LOWORD(lParam);
pos.y = (SHORT)HIWORD(lParam); pos.y = (SHORT)HIWORD(lParam);
@ -3072,7 +3072,7 @@ LRESULT CMeterWindow::OnMouseMove(UINT uMsg, WPARAM wParam, LPARAM lParam)
} }
while (DoMoveAction(pos.x, pos.y, MOUSE_LEAVE)) ; while (DoMoveAction(pos.x, pos.y, MOUSE_LEAVE)) ;
while (GetCursorPos(&cpos) && WindowFromPoint(cpos) == m_Window && DoMoveAction(pos.x, pos.y, MOUSE_OVER)) ; while (DoMoveAction(pos.x, pos.y, MOUSE_OVER)) ;
// Handle buttons // Handle buttons
HandleButtons(pos, BUTTONPROC_MOVE, NULL, true); HandleButtons(pos, BUTTONPROC_MOVE, NULL, true);