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:
parent
ab826fd86f
commit
b19bcdeb2b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user