]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrlwing.cpp
Disable wxUSE_ENH_METAFILE for wxGTK builds.
[wxWidgets.git] / src / generic / scrlwing.cpp
index 921c5961cae60beff416ab6d410b276c5a23c80c..2135db54f4c3b72feeb380cc1919b342063b6eaf 100644 (file)
@@ -1018,6 +1018,9 @@ void wxScrollHelperBase::HandleOnMouseWheel(wxMouseEvent& event)
         newEvent.SetOrientation( event.GetWheelAxis() == 0 ? wxVERTICAL : wxHORIZONTAL);
         newEvent.SetEventObject(m_win);
 
+        if ( event.GetWheelAxis() == wxMOUSE_WHEEL_HORIZONTAL )
+            lines = -lines;
+
         if (event.IsPageScroll())
         {
             if (lines > 0)