]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/slider.cpp
wxSystemSettings class API face lift: better names for its methods (wxMOTIF)
[wxWidgets.git] / src / motif / slider.cpp
index 3fa3e0bfc164890f80376ed980813f89f029566d..369cecc720141c9e1cfaffc5bf2e0172f4541f95 100644 (file)
@@ -300,6 +300,7 @@ void wxSliderCallback (Widget widget, XtPointer clientData, XmScaleCallbackStruc
             // Also send a wxCommandEvent for compatibility.
             wxCommandEvent event2(wxEVT_COMMAND_SLIDER_UPDATED, slider->GetId());
             event2.SetEventObject(slider);
+            event2.SetInt( event.GetInt() );
             slider->ProcessCommand(event2);
             break;
         }