From affe40440e979017b4d48a68178b144a5322d804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 22 Nov 2001 00:31:11 +0000 Subject: [PATCH] reverted fix for missing wxEvent::operator= git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/themes/win32.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/univ/themes/win32.cpp b/src/univ/themes/win32.cpp index 355244c890..3261e10239 100644 --- a/src/univ/themes/win32.cpp +++ b/src/univ/themes/win32.cpp @@ -3861,8 +3861,7 @@ 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.m_x = event.m_x; - m_eventStartDrag.m_y = event.m_y; + m_eventStartDrag = event; } return rc; @@ -3957,8 +3956,7 @@ 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.m_x = event.m_x; - m_eventLastDrag.m_y = event.m_y; + m_eventLastDrag = event; // and restore the original position (before dragging) of the // thumb for now