X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f60dbe2e95abe3016bab87439b9c6343735395f..0966d1fe2639772efab156387f95f63ce766bf17:/src/os2/scrolbar.cpp diff --git a/src/os2/scrolbar.cpp b/src/os2/scrolbar.cpp index a27773d308..8b88e4078c 100644 --- a/src/os2/scrolbar.cpp +++ b/src/os2/scrolbar.cpp @@ -226,6 +226,7 @@ bool wxScrollBar::OS2OnScroll ( ,m_windowId ); + vEvent.SetOrientation(IsVertical() ? wxVERTICAL : wxHORIZONTAL); vEvent.SetPosition(nPosition); vEvent.SetEventObject(this); return GetEventHandler()->ProcessEvent(vEvent);