diff options
author | Bjoern Breitmeyer <bjoern.breitmeyer@kdab.com> | 2012-07-02 10:36:25 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-03 01:55:34 +0200 |
commit | fe37ae066fdfad313215937aab2428b74892b746 (patch) | |
tree | cd677f92e133bff7686ac324b45e4aca1f11784c /src/plugins | |
parent | 8ccd563f3cf8e2b83e6b7e6204ca74a85a5d75a9 (diff) |
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 <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/platforms/windows/qplatformfunctions_wince.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/qplatformfunctions_wince.h b/src/plugins/platforms/windows/qplatformfunctions_wince.h index b04c359736..d8905f1569 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 |