X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/780220b099a8016b02a4b78a1e3f0b0c6849b51f..9485b24f43766ad97ba1b77a70c7c1f2a40184a6:/src/cocoa/slider.mm?ds=sidebyside 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)