X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a23d36334c0e84151490766f3ddaf5e53d95ae7..f1d93f0beeec9d88f8a225aa35a9ccc163dcdb15:/src/gtk1/scrolbar.cpp diff --git a/src/gtk1/scrolbar.cpp b/src/gtk1/scrolbar.cpp index 1b40fc530b..5b03e14703 100644 --- a/src/gtk1/scrolbar.cpp +++ b/src/gtk1/scrolbar.cpp @@ -109,12 +109,11 @@ static gint gtk_scrollbar_button_release_callback( GtkRange *WXUNUSED(widget), if (win->m_isScrolling) { - wxEventType command = wxEVT_SCROLL_THUMBTRACK; + wxEventType command = wxEVT_SCROLL_THUMBRELEASE; int value = (int)ceil(win->m_adjust->value); int dir = win->HasFlag(wxSB_VERTICAL) ? wxVERTICAL : wxHORIZONTAL; wxScrollEvent event( command, value, dir ); - event.SetScrolling( FALSE ); event.SetEventObject( win ); win->GetEventHandler()->ProcessEvent( event ); }