Commit 8a9c955b authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

win32u: Propagate WM_MOUSEHWHEEL to the parent window in DefWindowProc().

parent 38b0a400
......@@ -2562,8 +2562,9 @@ LRESULT default_window_proc( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam,
break;
case WM_MOUSEWHEEL:
case WM_MOUSEHWHEEL:
if (get_window_long( hwnd, GWL_STYLE ) & WS_CHILD)
result = send_message( get_parent( hwnd ), WM_MOUSEWHEEL, wparam, lparam );
result = send_message( get_parent( hwnd ), msg, wparam, lparam );
break;
case WM_ERASEBKGND:
......
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