git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60434
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// and then send a pseudo mouse-move event to refresh the selection
wxMouseEvent event2(wxEVT_MOTION);
{
// 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
// the mouse event coordinates should be client, not screen as
// returned by wxGetMousePosition