X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/780220b099a8016b02a4b78a1e3f0b0c6849b51f..982d7f931701e2d65182f798e9182139efd67ed7:/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)