mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00: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:
parent
7c755d9b84
commit
6d650bfc8f
2 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue