fixed compile for mouse button handling on wince
authorBjoern Breitmeyer <bjoern.breitmeyer@kdab.com>
Mon, 2 Jul 2012 08:36:25 +0000 (10:36 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 2 Jul 2012 23:55:34 +0000 (01:55 +0200)
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 <Friedemann.Kleint@nokia.com>
src/plugins/platforms/windows/qplatformfunctions_wince.h

index b04c359..d8905f1 100644 (file)
 #define VREFRESH 116
 #endif
 
+#ifndef SM_SWAPBUTTON
+#define SM_SWAPBUTTON 23
+#endif
+
 // application defines
 #define SPI_SETNONCLIENTMETRICS 72
 #define SPI_SETICONTITLELOGFONT 0x0022