changeset 868:fd13d8cce933

6743433: IM candidate window is not shown until window is deactivated and reactivated again Summary: OpenCandidateWindow procedure should directly call ::DefWindowProc Reviewed-by: art
author dcherepanov
date Wed, 10 Sep 2008 15:02:06 +0400
parents 31a7769b5fd1
children b0c557c745e8
files src/windows/native/sun/windows/awt_Component.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/sun/windows/awt_Component.cpp	Mon Sep 08 17:26:24 2008 -0700
+++ b/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);
     }
 }