user.exe: Fix WM_ERASEBKGND HDC param conversion in WINPROC_CallProc16To32A.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51624
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51899
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-11-30 16:51:41 +01:00 committed by Alexandre Julliard
parent 1bfae238c8
commit 0f16aa1842
1 changed files with 3 additions and 0 deletions

View File

@ -905,6 +905,9 @@ LRESULT WINPROC_CallProc16To32A( winproc_callback_t callback, HWND16 hwnd, UINT1
case WM_SIZECLIPBOARD:
FIXME_(msg)( "message %04x needs translation\n", msg );
break;
case WM_ERASEBKGND:
ret = callback( hwnd32, msg, (WPARAM)HDC_32(wParam), lParam, result, arg );
break;
default:
ret = callback( hwnd32, msg, wParam, lParam, result, arg );
break;