mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[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:
committed by
GitHub
parent
7c755d9b84
commit
6d650bfc8f
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user