X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/851dee09b5ab50a69519a39b0f3f6b95b1a63373..cb6b81bc94108bcb0a702ac5fdaf4944fa7706a0:/src/os2/scrolbar.cpp diff --git a/src/os2/scrolbar.cpp b/src/os2/scrolbar.cpp index 2f8a96dc82..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 ///////////////////////////////////////////////////////////////////////////// @@ -20,8 +19,6 @@ #include "wx/os2/private.h" -IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl) - // Scrollbar bool wxScrollBar::Create(wxWindow* pParent, wxWindowID vId, @@ -225,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 )