diff --git a/dll/win32/comctl32/edit.c b/dll/win32/comctl32/edit.c index 354fe0fccb8..2ac526e2473 100644 --- a/dll/win32/comctl32/edit.c +++ b/dll/win32/comctl32/edit.c @@ -4781,6 +4781,10 @@ static LRESULT CALLBACK EDIT_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR break; case WM_IME_CHAR: +#ifdef __REACTOS__ + result = DefWindowProcW(hwnd, msg, wParam, lParam); + break; +#endif case WM_CHAR: { WCHAR charW = wParam; diff --git a/win32ss/user/user32/controls/edit.c b/win32ss/user/user32/controls/edit.c index c079687e077..89ab481f7da 100644 --- a/win32ss/user/user32/controls/edit.c +++ b/win32ss/user/user32/controls/edit.c @@ -5063,6 +5063,11 @@ LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP break; case WM_IME_CHAR: +#ifdef __REACTOS__ + /* Rely on DefWindowProc */ + result = DefWindowProcT(hwnd, msg, wParam, lParam, unicode); + break; +#else if (!unicode) { WCHAR charW; @@ -5076,6 +5081,7 @@ LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP break; } /* fall through */ +#endif case WM_CHAR: { WCHAR charW;