From b19bcdeb2b172a9aa12c4a0a2f732c9d1608fe09 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 29 Apr 2009 21:43:09 +0000 Subject: [PATCH] no changes, just use an accessor method instead of using wxMouseEvent member variables directly git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/scrlwing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index 85e2ef3bae..300f0a1463 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -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 -- 2.45.2