compilation fix for mouse hack

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-05-18 17:15:46 +00:00
parent da7ed9b77e
commit 06b32ebe4f

View File

@ -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;