From ca808bbfe8799ee196436a640a3ea5c356f0df4b Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 20 Nov 2001 23:58:07 +0000 Subject: [PATCH] compilation fix (caused by removal of wxMouseEvent::operator=) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/themes/win32.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/univ/themes/win32.cpp b/src/univ/themes/win32.cpp index 3261e10239..355244c890 100644 --- a/src/univ/themes/win32.cpp +++ b/src/univ/themes/win32.cpp @@ -3861,7 +3861,8 @@ bool wxWin32ScrollBarInputHandler::HandleMouse(wxInputConsumer *control, { // 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; } return rc; @@ -3956,7 +3957,8 @@ bool wxWin32ScrollBarInputHandler::HandleMouseMove(wxInputConsumer *control, { // 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 -- 2.45.2