imm32: Use the same code for ImmIsUIMessageW as in the ascii function.

This commit is contained in:
André Hentschel 2011-06-15 20:55:06 +02:00 committed by Alexandre Julliard
parent 4f1aae76af
commit d08fa61a56
1 changed files with 8 additions and 0 deletions

View File

@ -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;
}