X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/899544330f37440c140b72a014c518a911b5b7a4..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/mac/carbon/spinbutt.cpp diff --git a/src/mac/carbon/spinbutt.cpp b/src/mac/carbon/spinbutt.cpp index 850e708252..02ed2e9423 100644 --- a/src/mac/carbon/spinbutt.cpp +++ b/src/mac/carbon/spinbutt.cpp @@ -133,7 +133,7 @@ void wxSpinButton::MacHandleValueChanged( int inc ) event.SetPosition( m_value ); event.SetEventObject( this ); - if ((GetEventHandler()->ProcessEvent( event )) && !event.IsAllowed()) + if ((HandleWindowEvent( event )) && !event.IsAllowed()) m_value = oldValue; m_peer->SetValue( m_value ); @@ -145,7 +145,7 @@ void wxSpinButton::MacHandleValueChanged( int inc ) wxSpinEvent event2( scrollEvent, GetId() ); event2.SetPosition( m_value ); event2.SetEventObject( this ); - GetEventHandler()->ProcessEvent( event2 ); + HandleWindowEvent( event2 ); } }