From 16837214edd3bd45a1a62a78ff99ad88e36d4cc7 Mon Sep 17 00:00:00 2001 From: simon 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. git-svn-id: svn://svn.tartarus.org/sgt/putty@1549 cda61777-01e9-0310-a592-d414129be87e --- 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) { -- 2.11.0