Module: wine Branch: master Commit: 4830966498567e4bd6692a60332fd9108e5d34d0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4830966498567e4bd6692a6033...
Author: Dmitry Timoshkov dmitry@codeweavers.com Date: Sat Sep 29 00:22:37 2007 +0900
user32: WM_IME_SETCONTEXT messages are optional.
---
dlls/user32/tests/msg.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 7f86c06..88c5228 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -261,14 +261,14 @@ static const struct message WmSwitchChild[] = { { WM_NCACTIVATE, sent|wparam|defwinproc, 1 }, /* in the 1st MDI child */ { HCBT_SETFOCUS, hook }, { WM_KILLFOCUS, sent|defwinproc }, /* in the 2nd MDI child */ - { WM_IME_SETCONTEXT, sent|wparam|defwinproc, 0 },/* in the 1st MDI child */ - { WM_IME_SETCONTEXT, sent|wparam, 1 }, /* in MDI client */ + { WM_IME_SETCONTEXT, sent|wparam|defwinproc|optional, 0 },/* in the 1st MDI child */ + { WM_IME_SETCONTEXT, sent|wparam|optional, 1 }, /* in MDI client */ { EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 }, { WM_SETFOCUS, sent },/* in the MDI client */ { HCBT_SETFOCUS, hook }, { WM_KILLFOCUS, sent },/* in the MDI client */ - { WM_IME_SETCONTEXT, sent|wparam, 0 }, /* in MDI client */ - { WM_IME_SETCONTEXT, sent|wparam|defwinproc, 1 }, /* in the 1st MDI child */ + { WM_IME_SETCONTEXT, sent|wparam|optional, 0 }, /* in MDI client */ + { WM_IME_SETCONTEXT, sent|wparam|defwinproc|optional, 1 }, /* in the 1st MDI child */ { EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 }, { WM_SETFOCUS, sent|defwinproc }, /* in the 1st MDI child */ { WM_MDIACTIVATE, sent|defwinproc },/* in the 1st MDI child */