1
0
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:
Simon Tatham 2001-05-13 11:19:20 +00:00
parent e45f75a2be
commit c0d65a351e

View File

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