]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrlwing.cpp
Build fixes after the 2.8->trunk forward port.
[wxWidgets.git] / 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