imm32/tests: Windows does post WM_IME_COMPOSITION messages sometimes.
This commit is contained in:
parent
50a25a8ebb
commit
2309d9f06a
|
@ -223,9 +223,7 @@ static void test_ImmNotifyIME(void) {
|
||||||
msg_spy_flush_msgs();
|
msg_spy_flush_msgs();
|
||||||
|
|
||||||
ImmNotifyIME(imc, NI_COMPOSITIONSTR, CPS_CANCEL, 0);
|
ImmNotifyIME(imc, NI_COMPOSITIONSTR, CPS_CANCEL, 0);
|
||||||
ok(!msg_spy_find_msg(WM_IME_COMPOSITION), "Windows does not post "
|
msg_spy_flush_msgs();
|
||||||
"WM_IME_COMPOSITION in response to NI_COMPOSITIONSTR / CPS_CANCEL, if "
|
|
||||||
"the composition string being canceled is non empty.\n");
|
|
||||||
|
|
||||||
/* behavior differs between win9x and NT */
|
/* behavior differs between win9x and NT */
|
||||||
ret = ImmGetCompositionString(imc, GCS_COMPSTR, resstr, sizeof(resstr));
|
ret = ImmGetCompositionString(imc, GCS_COMPSTR, resstr, sizeof(resstr));
|
||||||
|
|
Loading…
Reference in New Issue