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:
@@ -239,6 +239,7 @@ bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam,
|
|||||||
}
|
}
|
||||||
|
|
||||||
wxScrollEvent event(scrollEvent, m_windowId);
|
wxScrollEvent event(scrollEvent, m_windowId);
|
||||||
|
event.SetOrientation(IsVertical() ? wxVERTICAL : wxHORIZONTAL);
|
||||||
event.SetPosition(position);
|
event.SetPosition(position);
|
||||||
event.SetEventObject( this );
|
event.SetEventObject( this );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user