summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorminiak <milan.burda@gmail.com>2009-06-05 10:50:31 (GMT)
committerMarius Storm-Olsen <marius@trolltech.com>2009-06-05 10:50:31 (GMT)
commitf04af57ba71e8a4cd3c19f6e1a283290cc5280d4 (patch)
tree6dffe41ca3e9ec4394afaa4bad61f6e01d33ad22 /src/corelib/global
parent754f8968332e712d590a6ee984118536c0447348 (diff)
downloadQt-f04af57ba71e8a4cd3c19f6e1a283290cc5280d4.zip
Qt-f04af57ba71e8a4cd3c19f6e1a283290cc5280d4.tar.gz
Qt-f04af57ba71e8a4cd3c19f6e1a283290cc5280d4.tar.bz2
Fix for Qt issue #218037 - Add support for the WM_MOUSEHWHEEL message on Windows
Merge-request: 384 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qt_windows.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/global/qt_windows.h b/src/corelib/global/qt_windows.h
index 2ce4059..7fc7f47 100644
--- a/src/corelib/global/qt_windows.h
+++ b/src/corelib/global/qt_windows.h
@@ -106,6 +106,9 @@
#ifndef WM_MOUSEWHEEL
#define WM_MOUSEWHEEL 0x020A
#endif
+#ifndef WM_MOUSEHWHEEL
+#define WM_MOUSEHWHEEL 0x020E
+#endif
#ifndef ETO_PDY
#define ETO_PDY 0x2000
#endif