Commit 199449d6 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Added handling of WM_IME_CHAR.

parent 49fef469
......@@ -2063,6 +2063,7 @@ static LRESULT ComboWndProc_common( HWND hwnd, UINT message,
return 0;
case WM_CHAR:
case WM_IME_CHAR:
case WM_KEYDOWN:
{
HWND hwndTarget;
......
......@@ -762,6 +762,19 @@ static LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg,
}
break;
case WM_IME_CHAR:
if (!unicode)
{
WCHAR charW;
CHAR strng[2];
strng[0] = wParam >> 8;
strng[1] = wParam & 0xff;
MultiByteToWideChar(CP_ACP, 0, strng, 2, &charW, 1);
EDIT_WM_Char(es, charW);
break;
}
/* fall through */
case WM_CHAR:
{
WCHAR charW;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment