From 5f04a127a7b25f4e393e1c33639c7a83ec2f375a Mon Sep 17 00:00:00 2001 From: Bjoern Breitmeyer Date: Wed, 4 Jul 2012 16:14:29 +0200 Subject: fixed cursor handling on wince Change-Id: Iea91dde458b0e41a55ba6cb3e157756a1473f653 Reviewed-by: Friedemann Kleint --- src/plugins/platforms/windows/qtwindowsglobal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/platforms/windows/qtwindowsglobal.h') 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: -- cgit v1.2.3