]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/scrolbar.cpp
don't refresh the current cell in SetCellHighlightROPenWidth() if it's invalid (...
[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 )