]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/scrolbar.cpp
small optimization in wxConfigPathChanger: don't change the path if it is already...
[wxWidgets.git] / src / os2 / scrolbar.cpp
index a27773d3080f62eee90b6c05c1110151a9d9c3d6..8b88e4078cf083b77ba6ffda69cbcced2096f962 100644 (file)
@@ -226,6 +226,7 @@ bool wxScrollBar::OS2OnScroll (
                                            ,m_windowId
                                           );
 
+    vEvent.SetOrientation(IsVertical() ? wxVERTICAL : wxHORIZONTAL);
     vEvent.SetPosition(nPosition);
     vEvent.SetEventObject(this);
     return GetEventHandler()->ProcessEvent(vEvent);