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