X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd5554212e43940fe2925cd7a09b70360aac6261..4c509aecb650100d0bca898ec05801a0fbcae1f4:/src/cocoa/scrolbar.mm diff --git a/src/cocoa/scrolbar.mm b/src/cocoa/scrolbar.mm index bfda3d2416..1ce04db251 100644 --- a/src/cocoa/scrolbar.mm +++ b/src/cocoa/scrolbar.mm @@ -176,7 +176,7 @@ void wxScrollBar::Cocoa_wxNSScrollerAction() wxScrollEvent event(command, GetId(), GetThumbPosition(), HasFlag(wxSB_VERTICAL)?wxVERTICAL:wxHORIZONTAL); event.SetEventObject(this); - GetEventHandler()->ProcessEvent(event); + HandleWindowEvent(event); } #endif // wxUSE_SCROLLBAR