imm32: Use SendMessage not PostMessage for the default IME winproc.

This commit is contained in:
Aric Stewart 2012-11-20 14:07:01 -06:00 committed by Alexandre Julliard
parent 720c0c810d
commit ad6272486b
1 changed files with 6 additions and 4 deletions

View File

@ -2906,8 +2906,9 @@ static LRESULT WINAPI DefIME_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
{
ImmHkl *immHkl = IMM_GetImmHkl(GetKeyboardLayout(0));
if (immHkl->UIWnd)
PostMessageW(immHkl->UIWnd,uMsg,wParam,lParam);
return TRUE;
return SendMessageW(immHkl->UIWnd,uMsg,wParam,lParam);
else
return FALSE;
}
default:
if ((uMsg == WM_MSIME_RECONVERTOPTIONS) ||
@ -2920,8 +2921,9 @@ static LRESULT WINAPI DefIME_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
{
ImmHkl *immHkl = IMM_GetImmHkl(GetKeyboardLayout(0));
if (immHkl->UIWnd)
PostMessageW(immHkl->UIWnd,uMsg,wParam,lParam);
return TRUE;
return SendMessageW(immHkl->UIWnd,uMsg,wParam,lParam);
else
return FALSE;
}
return DefWindowProcW(hwnd, uMsg, wParam, lParam);
}