]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/scrolbar.cpp
compilation fix for PCH-less compilation after the last change
[wxWidgets.git] / src / os2 / scrolbar.cpp
index 2f8a96dc8222237269958c4ded4a050baa649aa5..a89d53de3e608f8f3de7a0457b289df0db4404d1 100644 (file)
@@ -225,7 +225,7 @@ bool wxScrollBar::OS2OnScroll ( int    WXUNUSED(nOrientation),
     vEvent.SetOrientation(IsVertical() ? wxVERTICAL : wxHORIZONTAL);
     vEvent.SetPosition(nPosition);
     vEvent.SetEventObject(this);
-    return GetEventHandler()->ProcessEvent(vEvent);
+    return HandleWindowEvent(vEvent);
 } // end of wxScrollBar::OS2OnScroll
 
 void wxScrollBar::SetThumbPosition ( int nViewStart )