X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d2b9c202d215ec220a7b2d62b28768ec7f40e44..4e5b5abbfd20653c4d6f8c0751e3d045e33e234a:/src/generic/scrolwin.cpp diff --git a/src/generic/scrolwin.cpp b/src/generic/scrolwin.cpp index 17facb6ea2..74b4d6bbd2 100644 --- a/src/generic/scrolwin.cpp +++ b/src/generic/scrolwin.cpp @@ -317,6 +317,7 @@ int wxScrolledWindow::CalcScrollInc(wxScrollWinEvent& event) break; } case wxEVT_SCROLLWIN_THUMBTRACK: + case wxEVT_SCROLLWIN_THUMBRELEASE: { if (orient == wxHORIZONTAL) nScrollInc = pos - m_xScrollPosition;