]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/scrolbar.cpp
applying patch, fixes #10523
[wxWidgets.git] / src / msw / scrolbar.cpp
index d892916568a3b49d231859ed6de19114d05e35b3..a3868bbb021bc42dca8200a7f81dc50a34045e18 100644 (file)
@@ -231,7 +231,7 @@ bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam,
     event.SetPosition(position);
     event.SetEventObject( this );
 
-    return GetEventHandler()->ProcessEvent(event);
+    return HandleWindowEvent(event);
 }
 
 void wxScrollBar::SetThumbPosition(int viewStart)