Dmitry Timoshkov : user32: WM_IME_SETCONTEXT messages are optional.

Alexandre Julliard julliard at winehq.org
Mon Oct 1 07:54:56 CDT 2007


Module: wine
Branch: master
Commit: 4830966498567e4bd6692a60332fd9108e5d34d0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4830966498567e4bd6692a60332fd9108e5d34d0

Author: Dmitry Timoshkov <dmitry at 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 */




More information about the wine-cvs mailing list