From 5e3663b48e819c9916f484af3b28ba42aeee8422 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 17 Jan 2002 12:22:26 +0000 Subject: [PATCH] Experimental checkin: re-enable support for the static WM_MOUSEWHEEL even on systems where the version number check thinks we should be expecting a dynamically registered message number. I have a suspicion the version check isn't accurate in all circumstances; and in any case, in a situation like this where Windows might send you either of two things, it's better to be ready to deal with both than to try and second-guess which one you'll get. [originally from svn r1549] --- window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/window.c b/window.c index 1b7f6089..4bcc2697 100644 --- a/window.c +++ b/window.c @@ -2434,7 +2434,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, return TRUE; } default: - if (message == wm_mousewheel) { + if (message == wm_mousewheel || message == WM_MOUSEWHEEL) { int shift_pressed=0, control_pressed=0, alt_pressed=0; if (message == WM_MOUSEWHEEL) {