X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34d26f42b16d6fb233988fec2a7fa6c8f397972d..abefd7eebac853dfc6a9b8939fa6fb8bc5dafcf6:/src/univ/themes/win32.cpp diff --git a/src/univ/themes/win32.cpp b/src/univ/themes/win32.cpp index d17179d9b8..ab245bd069 100644 --- a/src/univ/themes/win32.cpp +++ b/src/univ/themes/win32.cpp @@ -4160,12 +4160,12 @@ bool wxWin32ScrollBarInputHandler::HandleMouseMove(wxInputConsumer *control, wxPoint pos = event.GetPosition(); if (scrollbar->HasFlag( wxVERTICAL )) { - if (pos.x > -20 && pos.x < scrollbar->GetSize().x+20) + if (pos.x > -40 && pos.x < scrollbar->GetSize().x+40) pos.x = 5; } else { - if (pos.y > -20 && pos.y < scrollbar->GetSize().y+20) + if (pos.y > -40 && pos.y < scrollbar->GetSize().y+40) pos.y = 5; } ht = m_renderer->HitTestScrollbar(scrollbar, pos );