diff options
author | Bjoern Breitmeyer <bjoern.breitmeyer@kdab.com> | 2012-07-04 16:14:29 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-06 01:38:30 +0200 |
commit | 5f04a127a7b25f4e393e1c33639c7a83ec2f375a (patch) | |
tree | c08681a6a30a456fb7d71f4c9729be526e988377 /src/plugins/platforms/windows/qtwindowsglobal.h | |
parent | 2f2d6db09a04bfe1dee144a13db84c5eeac136ea (diff) |
fixed cursor handling on wince
Change-Id: Iea91dde458b0e41a55ba6cb3e157756a1473f653
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/platforms/windows/qtwindowsglobal.h')
-rw-r--r-- | src/plugins/platforms/windows/qtwindowsglobal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/qtwindowsglobal.h b/src/plugins/platforms/windows/qtwindowsglobal.h index ab23b06302..59e6422962 100644 --- a/src/plugins/platforms/windows/qtwindowsglobal.h +++ b/src/plugins/platforms/windows/qtwindowsglobal.h @@ -85,6 +85,7 @@ enum WindowsEventType // Simplify event types FocusOutEvent = WindowEventFlag + 18, MouseEvent = MouseEventFlag + 1, MouseWheelEvent = MouseEventFlag + 2, + CursorEvent = MouseEventFlag + 3, TouchEvent = TouchEventFlag + 1, NonClientMouseEvent = NonClientEventFlag + MouseEventFlag + 1, KeyEvent = KeyEventFlag + 1, @@ -124,6 +125,8 @@ inline QtWindows::WindowsEventType windowsEventType(UINT message, WPARAM wParamI case WM_ACTIVATE: return LOWORD(wParamIn) == WA_INACTIVE ? QtWindows::DeactivateWindowEvent : QtWindows::ActivateWindowEvent; + case WM_SETCURSOR: + return QtWindows::CursorEvent; case WM_MOUSELEAVE: return QtWindows::MouseEvent; case WM_MOUSEWHEEL: |