mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:27:18 +00:00
imm32: Pass the HIMC to the IME UI window IMMGWL_IMC.
Instead of the imc pointer.
This commit is contained in:
parent
3e2edac438
commit
e64e4e7461
|
@ -2603,7 +2603,7 @@ BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
|
|||
|
||||
if (NtUserQueryInputContext( hIMC, NtUserInputContextThreadId ) != GetCurrentThreadId()) return FALSE;
|
||||
|
||||
if ((ui_hwnd = get_ime_ui_window())) SetWindowLongPtrW( ui_hwnd, IMMGWL_IMC, (LONG_PTR)data );
|
||||
if ((ui_hwnd = get_ime_ui_window())) SetWindowLongPtrW( ui_hwnd, IMMGWL_IMC, (LONG_PTR)hIMC );
|
||||
|
||||
if (!fOpen != !data->IMC.fOpen)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue