X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/780220b099a8016b02a4b78a1e3f0b0c6849b51f..9928536b3a83586c473c96000c2d3a32e4c3f576:/src/cocoa/slider.mm diff --git a/src/cocoa/slider.mm b/src/cocoa/slider.mm index 888a5d809f..b198acdcb8 100644 --- a/src/cocoa/slider.mm +++ b/src/cocoa/slider.mm @@ -111,7 +111,7 @@ void wxSlider::ProcessEventType(wxEventType commandType) { wxScrollEvent event(commandType, GetId(), GetValue(), HasFlag(wxSL_VERTICAL)?wxVERTICAL:wxHORIZONTAL); event.SetEventObject(this); - GetEventHandler()->ProcessEvent(event); + HandleWindowEvent(event); } static inline wxEventType wxSliderEventTypeForKeyFromEvent(NSEvent *theEvent)