X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d879e16fc3e77b5c975040d1d13b9c93fd4f0123..76e7cfab8fdb0c7862fd07e427af54181717fc62:/src/os2/scrolbar.cpp?ds=sidebyside diff --git a/src/os2/scrolbar.cpp b/src/os2/scrolbar.cpp index 88906bdef7..fbb1fb2e9a 100644 --- a/src/os2/scrolbar.cpp +++ b/src/os2/scrolbar.cpp @@ -4,7 +4,6 @@ // Author: David Webster // Modified by: // Created: 10/15/99 -// RCS-ID: $Id$ // Copyright: (c) David Webster // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -12,15 +11,14 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#include "wx/scrolbar.h" + #ifndef WX_PRECOMP #include "wx/utils.h" #endif -#include "wx/scrolbar.h" #include "wx/os2/private.h" -IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl) - // Scrollbar bool wxScrollBar::Create(wxWindow* pParent, wxWindowID vId, @@ -224,7 +222,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 )