reverted fix for missing wxEvent::operator=

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2001-11-22 00:31:11 +00:00
parent 2c18f21dc7
commit affe40440e

View File

@ -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