X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd5554212e43940fe2925cd7a09b70360aac6261..3e1924dd5f5744c3e2a8973de9b3e4f372b7fd85:/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