X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..486a0fa75f8ae4ef12968ef0eee8b54b066d11af:/src/univ/slider.cpp diff --git a/src/univ/slider.cpp b/src/univ/slider.cpp index 8dbb9abf00..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 /////////////////////////////////////////////////////////////////////////////// @@ -96,8 +95,6 @@ static const wxCoord SLIDER_LABEL_MARGIN = 2; // implementation of wxSlider // ============================================================================ -IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl) - BEGIN_EVENT_TABLE(wxSlider, wxControl) EVT_SIZE(wxSlider::OnSize) END_EVENT_TABLE() @@ -222,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); @@ -354,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"));