From: Vadim Zeitlin Date: Fri, 18 May 2001 17:15:46 +0000 (+0000) Subject: compilation fix for mouse hack X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/06b32ebe4f4b990ee5e362d60499fc78b66aaee8 compilation fix for mouse hack git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/window.cpp b/src/msw/window.cpp index b8f26f4370..fe4e04543c 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -3373,7 +3373,7 @@ bool wxWindow::HandleMouseMove(int x, int y, WXUINT flags) if ( (m_lastMouseEvent == wxEVT_RIGHT_DOWN || m_lastMouseEvent == wxEVT_LEFT_DOWN || m_lastMouseEvent == wxEVT_MIDDLE_DOWN) && - (m_lastMouseX == event.m_x && m_lastMouseY == event.m_y) ) + (m_lastMouseX == x && m_lastMouseY == y) ) { m_lastMouseEvent = wxEVT_MOTION;