set orientation for scrolbar events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-02-10 16:11:55 +00:00
parent d9e403cc40
commit 27e229f55a

View File

@@ -239,6 +239,7 @@ bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam,
}
wxScrollEvent event(scrollEvent, m_windowId);
event.SetOrientation(IsVertical() ? wxVERTICAL : wxHORIZONTAL);
event.SetPosition(position);
event.SetEventObject( this );