X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/899544330f37440c140b72a014c518a911b5b7a4..f7d2128f3c89b2d00fbac0d8c9798409ae23b408:/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; }