6743433: IM candidate window is not shown until window is deactivated and reactivated again

OpenCandidateWindow procedure should directly call ::DefWindowProc

Reviewed-by: art
This commit is contained in:
Dmitry Cherepanov 2008-09-10 15:02:06 +04:00
parent f284d2a3b2
commit 5e24b7bc99

View File

@ -3692,7 +3692,7 @@ void AwtComponent::OpenCandidateWindow(int x, int y)
SetCandidateWindow(iCandType, x-rc.left, y-rc.top);
}
if (m_bitsCandType != 0) {
DefWindowProc(WM_IME_NOTIFY, IMN_OPENCANDIDATE, m_bitsCandType);
::DefWindowProc(GetHWnd(), WM_IME_NOTIFY, IMN_OPENCANDIDATE, m_bitsCandType);
}
}