git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12543
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// we just started dragging the thumb, remember its initial position to
// be able to restore it if the drag is cancelled later
{
// we just started dragging the thumb, remember its initial position to
// be able to restore it if the drag is cancelled later
- m_eventStartDrag = event;
+ m_eventStartDrag.m_x = event.m_x;
+ m_eventStartDrag.m_y = event.m_y;
{
// remember the current thumb position to be able to restore it
// if the mouse returns to it later
{
// remember the current thumb position to be able to restore it
// if the mouse returns to it later
- m_eventLastDrag = event;
+ m_eventLastDrag.m_x = event.m_x;
+ m_eventLastDrag.m_y = event.m_y;
// and restore the original position (before dragging) of the
// thumb for now
// and restore the original position (before dragging) of the
// thumb for now