shell32/tests: Send WM_CHAR instead of WM_KEYUP.
There's no need to send a WM_KEYUP anymore since it now matches Windows behavior. Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
644358bdf7
commit
7c844af838
|
@ -386,8 +386,7 @@ static void test_custom_source(void)
|
||||||
ok(hr == S_OK, "IAutoComplete_Init failed: %x\n", hr);
|
ok(hr == S_OK, "IAutoComplete_Init failed: %x\n", hr);
|
||||||
|
|
||||||
SendMessageW(hwnd_edit, WM_CHAR, 'a', 1);
|
SendMessageW(hwnd_edit, WM_CHAR, 'a', 1);
|
||||||
/* Send a keyup message since wine doesn't handle WM_CHAR yet */
|
SendMessageW(hwnd_edit, WM_CHAR, 'u', 1);
|
||||||
SendMessageW(hwnd_edit, WM_KEYUP, 'u', 1);
|
|
||||||
Sleep(100);
|
Sleep(100);
|
||||||
while (PeekMessageA(&msg, 0, 0, 0, PM_REMOVE))
|
while (PeekMessageA(&msg, 0, 0, 0, PM_REMOVE))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue