Commit b6a41a2f authored by Jinoh Kang's avatar Jinoh Kang Committed by Alexandre Julliard

comctl32/tests: Flush events before testing edit control IME messages.

parent 7a772a7f
......@@ -3641,6 +3641,7 @@ static void test_ime(void)
/* Test IME messages when EIMES_GETCOMPSTRATONCE is not set */
old_proc = (WNDPROC)SetWindowLongPtrA(hwnd, GWLP_WNDPROC, (LONG_PTR)edit_ime_subclass_proc);
SetWindowLongPtrA(hwnd, GWLP_USERDATA, (LONG_PTR)old_proc);
flush_events();
himc = ImmGetContext(hwnd);
ret = ImmSetCompositionStringA(himc, SCS_SETSTR, "Wine", 4, NULL, 0);
......
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