diff --git a/win32/w32main.cpp b/win32/w32main.cpp index 341cc305..bdfa5b9a 100644 --- a/win32/w32main.cpp +++ b/win32/w32main.cpp @@ -441,6 +441,12 @@ done: break; } + case WM_MOUSEWHEEL: { + int delta = GET_WHEEL_DELTA_WPARAM(wParam); + HandleTextWindowScrollBar(delta > 0 ? SB_LINEUP : SB_LINEDOWN, 0); + break; + } + case WM_VSCROLL: HandleTextWindowScrollBar(wParam, lParam); break;