]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/slider_osx.cpp
better support for ui action simulation
[wxWidgets.git] / src / osx / slider_osx.cpp
index f532b5691b6dfd3856ed01870a2241945745cda6..4a358a39061ef5090c09ab47d889053272648199 100644 (file)
@@ -299,7 +299,7 @@ void wxSlider::TriggerScrollEvent( wxEventType scrollEvent)
     event.SetEventObject( this );
     HandleWindowEvent( event );
 
-    wxCommandEvent cevent( wxEVT_COMMAND_SLIDER_UPDATED, m_windowId );
+    wxCommandEvent cevent( wxEVT_SLIDER, m_windowId );
     cevent.SetInt( value );
     cevent.SetEventObject( this );
     HandleWindowEvent( cevent );