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:
parent
da7ed9b77e
commit
06b32ebe4f
@ -3373,7 +3373,7 @@ bool wxWindow::HandleMouseMove(int x, int y, WXUINT flags)
|
|||||||
if ( (m_lastMouseEvent == wxEVT_RIGHT_DOWN ||
|
if ( (m_lastMouseEvent == wxEVT_RIGHT_DOWN ||
|
||||||
m_lastMouseEvent == wxEVT_LEFT_DOWN ||
|
m_lastMouseEvent == wxEVT_LEFT_DOWN ||
|
||||||
m_lastMouseEvent == wxEVT_MIDDLE_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;
|
m_lastMouseEvent = wxEVT_MOTION;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user