don't use deprecated wxMouseState functions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2013-01-09 03:27:11 +00:00
parent f5613c9b12
commit 18ca66650a

View File

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