X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/017dc06b502c041c112a3948e6c5f65000a86d94..ad653fa23069c5d9378247084f03c9a718c3ad62:/src/msw/slider.cpp diff --git a/src/msw/slider.cpp b/src/msw/slider.cpp index 1b87047ed2..8b905b1fa5 100644 --- a/src/msw/slider.cpp +++ b/src/msw/slider.cpp @@ -310,7 +310,7 @@ bool wxSlider::MSWOnScroll(int WXUNUSED(orientation), event.SetEventObject( this ); HandleWindowEvent(event); - wxCommandEvent cevent( wxEVT_COMMAND_SLIDER_UPDATED, GetId() ); + wxCommandEvent cevent( wxEVT_SLIDER, GetId() ); cevent.SetInt( newPos ); cevent.SetEventObject( this );