X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52682336e8b619044682102d16f22a058f5b2a59..404b319a85dadd7decf7a5a5331020520031a41c:/src/generic/scrlwing.cpp?ds=sidebyside diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index ea6ffab276..921c5961ca 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -164,9 +164,9 @@ void wxAutoScrollTimer::Notify() wxMouseState mouseState = wxGetMouseState(); - event2.m_leftDown = mouseState.LeftDown(); - event2.m_middleDown = mouseState.MiddleDown(); - event2.m_rightDown = mouseState.RightDown(); + event2.m_leftDown = mouseState.LeftIsDown(); + event2.m_middleDown = mouseState.MiddleIsDown(); + event2.m_rightDown = mouseState.RightIsDown(); event2.m_shiftDown = mouseState.ShiftDown(); event2.m_controlDown = mouseState.ControlDown();