diff --git a/src/Gui/WinNativeGestureRecognizers.h b/src/Gui/WinNativeGestureRecognizers.h index 55ee045ed5..34eb3d8d76 100644 --- a/src/Gui/WinNativeGestureRecognizers.h +++ b/src/Gui/WinNativeGestureRecognizers.h @@ -35,7 +35,9 @@ #ifdef Q_WS_WIN #if QT_VERSION < 0x050000 -//#define GESTURE_MESS +#if(WINVER >= 0x0601) // need Windows 7 +#define GESTURE_MESS +#endif #endif // QT_VERSION < 0x050000 #endif // Q_WS_WIN