From b916407a2a06f8452e82b74dc44c54acbcc572b0 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:27:42 +0200 Subject: 5.21 --- zen/scroll_window_under_cursor.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'zen/scroll_window_under_cursor.cpp') diff --git a/zen/scroll_window_under_cursor.cpp b/zen/scroll_window_under_cursor.cpp index f201bb04..ccc00bcf 100644 --- a/zen/scroll_window_under_cursor.cpp +++ b/zen/scroll_window_under_cursor.cpp @@ -13,15 +13,11 @@ #include #include "win.h" //includes "windows.h" -#include "Windowsx.h" //WM_MOUSEWHEEL +#include //WM_MOUSEWHEEL namespace { -#ifndef WM_MOUSEHWHEEL //MinGW is clueless... -#define WM_MOUSEHWHEEL 0x020E -#endif - LRESULT CALLBACK mouseInputHook(int nCode, WPARAM wParam, LPARAM lParam) { //"if nCode is less than zero, the hook procedure must pass the message to the CallNextHookEx function -- cgit