user32/tests: Flush remaining events before starting a new sequence.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ad5ca21de6
commit
766ee1692e
|
@ -14375,6 +14375,7 @@ static void test_dbcs_wm_char(void)
|
||||||
WS_OVERLAPPEDWINDOW, 100, 100, 200, 200, 0, 0, 0, NULL);
|
WS_OVERLAPPEDWINDOW, 100, 100, 200, 200, 0, 0, 0, NULL);
|
||||||
ok (hwnd != 0, "Failed to create overlapped window\n");
|
ok (hwnd != 0, "Failed to create overlapped window\n");
|
||||||
ok (hwnd2 != 0, "Failed to create overlapped window\n");
|
ok (hwnd2 != 0, "Failed to create overlapped window\n");
|
||||||
|
flush_events();
|
||||||
flush_sequence();
|
flush_sequence();
|
||||||
|
|
||||||
memset( wmCharSeq, 0, sizeof(wmCharSeq) );
|
memset( wmCharSeq, 0, sizeof(wmCharSeq) );
|
||||||
|
|
Loading…
Reference in New Issue