]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/scrolbar.cpp
Send all menu item actions to a dedicated target. This is to ensure
[wxWidgets.git] / src / os2 / scrolbar.cpp
index a27773d3080f62eee90b6c05c1110151a9d9c3d6..8b88e4078cf083b77ba6ffda69cbcced2096f962 100644 (file)
@@ -226,6 +226,7 @@ bool wxScrollBar::OS2OnScroll (
                                            ,m_windowId
                                           );
 
                                            ,m_windowId
                                           );
 
+    vEvent.SetOrientation(IsVertical() ? wxVERTICAL : wxHORIZONTAL);
     vEvent.SetPosition(nPosition);
     vEvent.SetEventObject(this);
     return GetEventHandler()->ProcessEvent(vEvent);
     vEvent.SetPosition(nPosition);
     vEvent.SetEventObject(this);
     return GetEventHandler()->ProcessEvent(vEvent);