6743433: IM candidate window is not shown until window is deactivated and reactivated again
Summary: OpenCandidateWindow procedure should directly call ::DefWindowProc
Reviewed-by: art
--- a/jdk/src/windows/native/sun/windows/awt_Component.cpp Mon Sep 08 17:26:24 2008 -0700
+++ b/jdk/src/windows/native/sun/windows/awt_Component.cpp Wed Sep 10 15:02:06 2008 +0400
@@ -3692,7 +3692,7 @@
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);
}
}