]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use deprecated wxMouseState functions
authorPaul Cornett <paulcor@bullseye.com>
Wed, 9 Jan 2013 03:27:11 +0000 (03:27 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Wed, 9 Jan 2013 03:27:11 +0000 (03:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/scrlwing.cpp

index ea6ffab2766d35dd0962e30fa5c19f1ca1ab17fc..921c5961cae60beff416ab6d410b276c5a23c80c 100644 (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();