X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/571b0b138bc5c910e4dbc5bca510b65859741e1b..b8797d96ca1d94443bd2201e9884fc9a16cb53bb:/src/cocoa/spinbutt.mm diff --git a/src/cocoa/spinbutt.mm b/src/cocoa/spinbutt.mm index a304c38be5..53ce3b29a6 100644 --- a/src/cocoa/spinbutt.mm +++ b/src/cocoa/spinbutt.mm @@ -80,7 +80,7 @@ void wxSpinButton::CocoaTarget_action() wxSpinEvent event(wxEVT_SCROLL_THUMBTRACK, GetId()); event.SetPosition(GetValue()); event.SetEventObject(this); - GetEventHandler()->ProcessEvent(event); + HandleWindowEvent(event); } #endif // wxUSE_SPINBTN