Commit c27b6cf9 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

DefWindowProc should pass unhandled WM_MOUSEWHEEL to parent, according

to documentation.
parent 91ae8cb2
......@@ -331,6 +331,14 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT msg, WPARAM wParam,
}
break;
case WM_MOUSEWHEEL:
if (wndPtr->dwStyle & WS_CHILD)
{
return SendMessageA( wndPtr->parent->hwndSelf,
WM_MOUSEWHEEL, wParam, lParam );
}
break;
case WM_ERASEBKGND:
case WM_ICONERASEBKGND:
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment