X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f605ccf3fcce969d9a634bf1cf6aa4f13f74d2e..44d130a35e7973911686d664bcf275a538990d52:/src/msw/slider95.cpp diff --git a/src/msw/slider95.cpp b/src/msw/slider95.cpp index 992b61e96e..213f6b0b67 100644 --- a/src/msw/slider95.cpp +++ b/src/msw/slider95.cpp @@ -250,10 +250,17 @@ bool wxSlider95::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam, break; case SB_THUMBTRACK: - case SB_THUMBPOSITION: scrollEvent = wxEVT_SCROLL_THUMBTRACK; break; + case SB_THUMBPOSITION: + scrollEvent = wxEVT_SCROLL_THUMBRELEASE; + break; + + case SB_ENDSCROLL: + scrollEvent = wxEVT_SCROLL_ENDSCROLL; + break; + default: // unknown scroll event? return FALSE;