]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/slider.cpp
Corrected meaning of parameter col as the position not ID in wxLisrCtrl::InsertColumn...
[wxWidgets.git] / src / motif / slider.cpp
index 6b012f29641bf23e0c2523d4160e42a19fb631e8..192b4633e8eb5c05f08c28643248c1ce5234a12f 100644 (file)
@@ -221,13 +221,13 @@ void wxSliderCallback (Widget widget, XtPointer clientData,
     XtVaGetValues (widget, XmNvalue, &commandInt, NULL);
     event.SetInt(commandInt);
     event.SetEventObject(slider);
-    slider->GetEventHandler()->ProcessEvent(event);
+    slider->HandleWindowEvent(event);
 
     // Also send a wxCommandEvent for compatibility.
     wxCommandEvent event2(wxEVT_COMMAND_SLIDER_UPDATED, slider->GetId());
     event2.SetEventObject(slider);
     event2.SetInt( event.GetInt() );
-    slider->GetEventHandler()->ProcessEvent(event2);
+    slider->HandleWindowEvent(event2);
 }
 
 #endif // wxUSE_SLIDER