changeset 1101:e03aa9d6b8d5

6723941: Crash in sun.awt.windows.WToolkit.eventLoop() Reviewed-by: art, ant
author dcherepanov
date Tue, 17 Feb 2009 14:44:58 +0300
parents 9cdba92883bf
children 2083f9461cea
files src/windows/native/sun/windows/awt_Frame.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/sun/windows/awt_Frame.cpp	Tue Feb 17 14:30:52 2009 +0300
+++ b/src/windows/native/sun/windows/awt_Frame.cpp	Tue Feb 17 14:44:58 2009 +0300
@@ -321,7 +321,8 @@
         AwtComponent::GetComponentImpl(::GetParent(hwnd));
 
     if (!parent || parent->GetProxyFocusOwner() != hwnd ||
-        message == AwtComponent::WmAwtIsComponent)
+        message == AwtComponent::WmAwtIsComponent ||
+        message == WM_GETOBJECT)
     {
         return ComCtl32Util::GetInstance().DefWindowProc(NULL, hwnd, message, wParam, lParam);
     }