X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/937013e0fd914d4c42f9f5ec98da665986b93dfa..cc4d5638c66a409e421420ed7110917755a66788:/src/motif/slider.cpp diff --git a/src/motif/slider.cpp b/src/motif/slider.cpp index 192b4633e8..1475196058 100644 --- a/src/motif/slider.cpp +++ b/src/motif/slider.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 17/09/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -36,8 +35,6 @@ static void wxSliderCallback (Widget widget, XtPointer clientData, XmScaleCallbackStruct * cbs); -IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl) - BEGIN_EVENT_TABLE(wxSlider, wxControl) END_EVENT_TABLE() @@ -224,7 +221,7 @@ void wxSliderCallback (Widget widget, XtPointer clientData, slider->HandleWindowEvent(event); // Also send a wxCommandEvent for compatibility. - wxCommandEvent event2(wxEVT_COMMAND_SLIDER_UPDATED, slider->GetId()); + wxCommandEvent event2(wxEVT_SLIDER, slider->GetId()); event2.SetEventObject(slider); event2.SetInt( event.GetInt() ); slider->HandleWindowEvent(event2);