From 3f0f93880087c16c416f2701cd4efcc4dc9c4ed9 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 16 Dec 2001 12:11:56 +0000 Subject: [PATCH] Replace the definition of WHEEL_DELTA which was removed in rev 1.185 [r1499]. For some reason Borland builds were working perfectly OK without it, but VC builds were failing. *shrug* git-svn-id: svn://svn.tartarus.org/sgt/putty@1500 cda61777-01e9-0310-a592-d414129be87e --- window.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/window.c b/window.c index cbcba52f..439495af 100644 --- a/window.c +++ b/window.c @@ -67,9 +67,12 @@ #define VK_PROCESSKEY 0xE5 #endif -/* Needed for mouse wheel support and not defined in earlier SDKs. */ +/* Mouse wheel support. */ #ifndef WM_MOUSEWHEEL -#define WM_MOUSEWHEEL 0x020A +#define WM_MOUSEWHEEL 0x020A /* not defined in earlier SDKs */ +#endif +#ifndef WHEEL_DELTA +#define WHEEL_DELTA 120 #endif static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); -- 2.11.0