Nikolay Sivov : comctl32/tests: Call appropriate default procedure for parent window (Valgrind).
Alexandre Julliard
julliard at winehq.org
Tue Jan 10 15:24:42 CST 2017
Module: wine
Branch: master
Commit: dabad0e98fb79e4da9fbd063a3278255ecdb1242
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dabad0e98fb79e4da9fbd063a3278255ecdb1242
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Jan 10 10:03:13 2017 +0300
comctl32/tests: Call appropriate default procedure for parent window (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/comctl32/tests/listview.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index 5e69414..6d21b05 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -555,7 +555,10 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP
}
defwndproc_counter++;
- ret = DefWindowProcA(hwnd, message, wParam, lParam);
+ if (IsWindowUnicode(hwnd))
+ ret = DefWindowProcW(hwnd, message, wParam, lParam);
+ else
+ ret = DefWindowProcA(hwnd, message, wParam, lParam);
defwndproc_counter--;
return ret;
More information about the wine-cvs
mailing list