From 0fc4ac4f1f9602fcb54beaa04e42a7c1b2befcb6 Mon Sep 17 00:00:00 2001 From: Anatoly Baksheev Date: Sun, 19 Jan 2014 04:07:17 +0400 Subject: [PATCH] warnings and compilation with installed Windows 8.1 SDK --- modules/highgui/src/window_w32.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/highgui/src/window_w32.cpp b/modules/highgui/src/window_w32.cpp index 97527345a..23aa02aad 100644 --- a/modules/highgui/src/window_w32.cpp +++ b/modules/highgui/src/window_w32.cpp @@ -1363,7 +1363,9 @@ MainWindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) break; case WM_MOUSEWHEEL: +#if defined WM_MOUSEHWHEEL case WM_MOUSEHWHEEL: +#endif if( window->on_mouse ) { int flags = (wParam & MK_LBUTTON ? CV_EVENT_FLAG_LBUTTON : 0)|