André Hentschel : imm32: Use the same code for ImmIsUIMessageW as in the ascii function.
Alexandre Julliard
julliard at winehq.org
Thu Jun 16 14:28:47 CDT 2011
Module: wine
Branch: master
Commit: d08fa61a568c618278132cd6abb6a093a5c7799a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d08fa61a568c618278132cd6abb6a093a5c7799a
Author: André Hentschel <nerv at dawncrow.de>
Date: Wed Jun 15 20:55:06 2011 +0200
imm32: Use the same code for ImmIsUIMessageW as in the ascii function.
---
dlls/imm32/imm.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index cc68305..00a7c6a 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -1923,7 +1923,15 @@ BOOL WINAPI ImmIsUIMessageW(
(msg == WM_MSIME_RECONVERT) ||
(msg == WM_MSIME_QUERYPOSITION) ||
(msg == WM_MSIME_DOCUMENTFEED))
+ {
+ if (!IMM_GetThreadData()->hwndDefault)
+ ImmGetDefaultIMEWnd(NULL);
+
+ if (hWndIME == NULL)
+ PostMessageW(IMM_GetThreadData()->hwndDefault, msg, wParam, lParam);
+
rc = TRUE;
+ }
return rc;
}
More information about the wine-cvs
mailing list