From 17edd41c1e3bcb4743b5c6cee5ecd9e1a1cf09b4 Mon Sep 17 00:00:00 2001 From: jaanttil Date: Mon, 14 Nov 2011 16:16:39 +0200 Subject: Fixed qapplication_win.cpp build for WinCE Change-Id: I206fbb5e137676bb56d251870928826876dc2bb2 Reviewed-by: Andreas Holzammer Reviewed-by: Joerg Bornemann --- src/gui/kernel/qapplication_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/kernel/qapplication_win.cpp b/src/gui/kernel/qapplication_win.cpp index 69fe7ab..e6ebf2b 100644 --- a/src/gui/kernel/qapplication_win.cpp +++ b/src/gui/kernel/qapplication_win.cpp @@ -2360,6 +2360,7 @@ extern "C" LRESULT QT_WIN_CALLBACK QtWndProc(HWND hwnd, UINT message, WPARAM wPa #ifndef QT_NO_ACCESSIBILITY case WM_GETOBJECT: { +#if !defined(Q_OS_WINCE) /* On Win64, lParam can be 0x00000000fffffffc or 0xfffffffffffffffc (!), but MSDN says that lParam should be converted to a DWORD before its compared against OBJID_CLIENT @@ -2371,7 +2372,6 @@ extern "C" LRESULT QT_WIN_CALLBACK QtWndProc(HWND hwnd, UINT message, WPARAM wPa break; } -#if !defined(Q_OS_WINCE) typedef LRESULT (WINAPI *PtrLresultFromObject)(REFIID, WPARAM, LPUNKNOWN); static PtrLresultFromObject ptrLresultFromObject = 0; static bool oleaccChecked = false; -- cgit v0.12