X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b0246530d08cf7724d94c70d631c166f9717c2c..bcd846ea7191d33d86e28ee1927b461c54d2fb8f:/src/gtk/slider.cpp diff --git a/src/gtk/slider.cpp b/src/gtk/slider.cpp index b4e9701b1b..ba70dee257 100644 --- a/src/gtk/slider.cpp +++ b/src/gtk/slider.cpp @@ -60,6 +60,13 @@ ProcessScrollEvent(wxSlider *win, wxEventType evtType, double dvalue) event.SetEventObject( win ); win->GetEventHandler()->ProcessEvent( event ); + if ( evtType != wxEVT_SCROLL_THUMBTRACK ) + { + wxScrollEvent event2(wxEVT_SCROLL_CHANGED, win->GetId(), value, orient); + event2.SetEventObject( win ); + win->GetEventHandler()->ProcessEvent( event2 ); + } + wxCommandEvent cevent( wxEVT_COMMAND_SLIDER_UPDATED, win->GetId() ); cevent.SetEventObject( win ); cevent.SetInt( value );