mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-09 23:28:06 -05:00
Experimental checkin: re-enable support for the static WM_MOUSEWHEEL
even on systems where the version number check thinks we should be expecting a dynamically registered message number. I have a suspicion the version check isn't accurate in all circumstances; and in any case, in a situation like this where Windows might send you either of two things, it's better to be ready to deal with both than to try and second-guess which one you'll get. [originally from svn r1549]
This commit is contained in:
parent
3b593096d1
commit
5e3663b48e
2
window.c
2
window.c
@ -2434,7 +2434,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
|
||||
return TRUE;
|
||||
}
|
||||
default:
|
||||
if (message == wm_mousewheel) {
|
||||
if (message == wm_mousewheel || message == WM_MOUSEWHEEL) {
|
||||
int shift_pressed=0, control_pressed=0, alt_pressed=0;
|
||||
|
||||
if (message == WM_MOUSEWHEEL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user