user32/edit: Handle IME composition result string only when EIMES_GETCOMPSTRATONCE...
commit2aa54a90bd24f6aa422a2eb832a54d9afe585259
authorZhiyi Zhang <zzhang@codeweavers.com>
Fri, 12 Aug 2022 03:32:54 +0000 (12 11:32 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 18 Aug 2022 19:42:20 +0000 (18 21:42 +0200)
tree184daa2e74de49de8b2c3720075c3c380b099dc1
parentac9c3ef5aae3f769ec2e92929359c7e30c5a8db1
user32/edit: Handle IME composition result string only when EIMES_GETCOMPSTRATONCE is set.

If EIMES_GETCOMPSTRATONCE is not set, WM_IME_COMPOSITION with LPARAM set to GCS_RESULTSTR should be
passed to the default window procedure according to MSDN.

Fix some windows based on edit control not being able to input Chinese.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
dlls/user32/edit.c