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
This commit is contained in:
Vadim Zeitlin 2009-04-29 21:43:09 +00:00
parent ab826fd86f
commit b19bcdeb2b

View File

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