X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/105fbe1ffa8968cb85fd2cac7192957e522d17ba..7256e9b6ad4bc899d7c4d1d70e7afc93965200f1:/src/motif/slider.cpp diff --git a/src/motif/slider.cpp b/src/motif/slider.cpp index 6b012f2964..192b4633e8 100644 --- a/src/motif/slider.cpp +++ b/src/motif/slider.cpp @@ -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