]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/slider.cpp
Start/EndDrawingOnTop are still used under Motif, don't deprecate them
[wxWidgets.git] / src / gtk / slider.cpp
index b4e9701b1b2d260f1b0670987fe092c4d18f007a..ba70dee2571c45dbd2615b077e67d7ed2d5ff5b6 100644 (file)
@@ -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 );