[COMCTL32][USER32] WM_IME_CHAR: Rely on DefWindowProc... (#5191)

Use DefWindowProc... for WM_IME_CHAR handling. CORE-15289, CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2023-03-27 19:42:47 +09:00 committed by GitHub
parent 7c755d9b84
commit 6d650bfc8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

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

View file

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