Module: wine Branch: master Commit: b6a41a2f98c815689525ce343b8bd3a93bceaaae URL: https://gitlab.winehq.org/wine/wine/-/commit/b6a41a2f98c815689525ce343b8bd3a...
Author: Jinoh Kang jinoh.kang.kr@gmail.com Date: Fri Nov 4 00:32:09 2022 +0900
comctl32/tests: Flush events before testing edit control IME messages.
---
dlls/comctl32/tests/edit.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/comctl32/tests/edit.c b/dlls/comctl32/tests/edit.c index ccdeed95d92..876cddf0de2 100644 --- a/dlls/comctl32/tests/edit.c +++ b/dlls/comctl32/tests/edit.c @@ -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);