mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-21 04:55:02 -05:00
Define WM_MOUSEWHEEL (to 0x20A) if it's not defined by windows.h.
[originally from svn r1115]
This commit is contained in:
parent
e45f75a2be
commit
c0d65a351e
5
window.c
5
window.c
@ -57,6 +57,11 @@
|
||||
#define VK_PROCESSKEY 0xE5
|
||||
#endif
|
||||
|
||||
/* Needed for mouse wheel support and not defined in earlier SDKs. */
|
||||
#ifndef WM_MOUSEWHEEL
|
||||
#define WM_MOUSEWHEEL 0x020A
|
||||
#endif
|
||||
|
||||
static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
|
||||
static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
|
||||
unsigned char *output);
|
||||
|
Loading…
x
Reference in New Issue
Block a user