mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-04 04:52:47 -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 == d6016149bf
]
This commit is contained in:
7
window.c
7
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);
|
||||
|
Reference in New Issue
Block a user