1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-28 23:34:49 -05:00

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*

[originally from svn r1500]
[r1499 == d6016149bfd0fe316629ff74e32e06f42948cf87]
This commit is contained in:
Simon Tatham 2001-12-16 12:11:56 +00:00
parent d6016149bf
commit c64d6871f6

View File

@ -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);