]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/slider.cpp
missing commit
[wxWidgets.git] / src / motif / slider.cpp
index 192b4633e8eb5c05f08c28643248c1ce5234a12f..478b1d686ddcaf3b312411ec087785b5c0dcdb83 100644 (file)
@@ -36,8 +36,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 +222,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);