From: Bjoern Breitmeyer Date: Mon, 2 Jul 2012 08:36:25 +0000 (+0200) Subject: fixed compile for mouse button handling on wince X-Git-Tag: 071012110112~126 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe37ae066fdfad313215937aab2428b74892b746;p=profile%2Fivi%2Fqtbase.git fixed compile for mouse button handling on wince WinCE does not support SM_SWAPBUTTON, so the define will let ce fail the function call and correctly assume normal mouse button handling Change-Id: Id603b3b6a995e22d8800e19a5566a56df95c8962 Reviewed-by: Friedemann Kleint --- diff --git a/src/plugins/platforms/windows/qplatformfunctions_wince.h b/src/plugins/platforms/windows/qplatformfunctions_wince.h index b04c359..d8905f1 100644 --- a/src/plugins/platforms/windows/qplatformfunctions_wince.h +++ b/src/plugins/platforms/windows/qplatformfunctions_wince.h @@ -176,6 +176,10 @@ #define VREFRESH 116 #endif +#ifndef SM_SWAPBUTTON +#define SM_SWAPBUTTON 23 +#endif + // application defines #define SPI_SETNONCLIENTMETRICS 72 #define SPI_SETICONTITLELOGFONT 0x0022