6743433: IM candidate window is not shown until window is deactivated and reactivated again
authordcherepanov
Wed, 10 Sep 2008 15:02:06 +0400
changeset 1960 cc69c7cc3c58
parent 1959 921c735ddfe1
child 1961 436a5a828d9f
6743433: IM candidate window is not shown until window is deactivated and reactivated again Summary: OpenCandidateWindow procedure should directly call ::DefWindowProc Reviewed-by: art
jdk/src/windows/native/sun/windows/awt_Component.cpp
--- 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);
     }
 }