X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/899544330f37440c140b72a014c518a911b5b7a4..3aa8e4ea6db0478d3bc862f59f100408bdc8732f:/src/mac/carbon/scrolbar.cpp diff --git a/src/mac/carbon/scrolbar.cpp b/src/mac/carbon/scrolbar.cpp index e26fa27eef..c7c1263451 100644 --- a/src/mac/carbon/scrolbar.cpp +++ b/src/mac/carbon/scrolbar.cpp @@ -165,7 +165,7 @@ void wxScrollBar::MacHandleControlClick( WXWidget WXUNUSED(control), wxInt16 con // this is hardcoded window->MacOnScroll( event ); else - GetEventHandler()->ProcessEvent( event ); + HandleWindowEvent( event ); } wxInt32 wxScrollBar::MacControlHit( WXEVENTHANDLERREF WXUNUSED(handler), WXEVENTREF mevent ) @@ -221,7 +221,7 @@ wxInt32 wxScrollBar::MacControlHit( WXEVENTHANDLERREF WXUNUSED(handler), WXEVENT // this is hardcoded window->MacOnScroll( event ); else - GetEventHandler()->ProcessEvent( event ); + HandleWindowEvent( event ); return noErr; }