// Author: Vadim Zeitlin
// Modified by:
// Created: 09.02.01
-// RCS-ID: $Id$
// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// implementation of wxSlider
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
-
BEGIN_EVENT_TABLE(wxSlider, wxControl)
EVT_SIZE(wxSlider::OnSize)
END_EVENT_TABLE()
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);
// wxSlider ticks
// ----------------------------------------------------------------------------
-void wxSlider::SetTickFreq(int n, int WXUNUSED(dummy))
+void wxSlider::DoSetTickFreq(int n)
{
wxCHECK_RET (n > 0, wxT("invalid slider tick frequency"));