]> git.saurik.com Git - wxWidgets.git/commitdiff
no changes, just use an accessor method instead of using wxMouseEvent member variable...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Apr 2009 21:43:09 +0000 (21:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Apr 2009 21:43:09 +0000 (21:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/scrlwing.cpp

index 85e2ef3bae51be147d570530810a5e6c0d504d99..300f0a1463d5e7ac1a54cf7a40c9aa6d065a5f64 100644 (file)
@@ -152,7 +152,7 @@ void wxAutoScrollTimer::Notify()
         {
             // and then send a pseudo mouse-move event to refresh the selection
             wxMouseEvent event2(wxEVT_MOTION);
-            wxGetMousePosition(&event2.m_x, &event2.m_y);
+            event2.SetPosition(wxGetMousePosition());
 
             // the mouse event coordinates should be client, not screen as
             // returned by wxGetMousePosition