X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..0d53638f7147c18153f63fdfc096b17be6e22a27:/src/univ/slider.cpp diff --git a/src/univ/slider.cpp b/src/univ/slider.cpp index 431707a095..3d588d1ae3 100644 --- a/src/univ/slider.cpp +++ b/src/univ/slider.cpp @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 09.02.01 -// RCS-ID: $Id$ // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -220,7 +219,7 @@ bool wxSlider::ChangeValueTo(int value) eventScroll.SetEventObject( this ); (void)GetEventHandler()->ProcessEvent(eventScroll); - wxCommandEvent event(wxEVT_COMMAND_SLIDER_UPDATED, GetId()); + wxCommandEvent event(wxEVT_SLIDER, GetId()); event.SetInt(m_value); event.SetEventObject(this); (void)GetEventHandler()->ProcessEvent(event); @@ -352,7 +351,7 @@ int wxSlider::GetThumbLength() const // wxSlider ticks // ---------------------------------------------------------------------------- -void wxSlider::SetTickFreq(int n, int WXUNUSED(dummy)) +void wxSlider::DoSetTickFreq(int n) { wxCHECK_RET (n > 0, wxT("invalid slider tick frequency"));