X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f60dbe2e95abe3016bab87439b9c6343735395f..2fc2d511d0f095ab5de3713cff6042832f886d15:/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);