6996708: The event on the tray icon does not trigger and there is no message printed.
Reviewed-by: art, ant
--- a/jdk/src/windows/native/sun/windows/awt_TrayIcon.cpp Wed Feb 16 01:12:53 2011 +0300
+++ b/jdk/src/windows/native/sun/windows/awt_TrayIcon.cpp Thu Feb 24 13:01:01 2011 +0300
@@ -200,10 +200,9 @@
m_nid.cbSize = (BYTE *)(&m_nid.guidItem) - (BYTE *)(&m_nid.cbSize);
break;
case 6: // WIN_XP
- // Uncomment these two lines when moving to VS2008
-// m_nid.cbSize = (BYTE *)(&m_nid.hBalloonIcon) - (BYTE *)(&m_nid.cbSize);
-// break;
- default: // WIN_VISTA?
+ m_nid.cbSize = (BYTE *)(&m_nid.hBalloonIcon) - (BYTE *)(&m_nid.cbSize);
+ break;
+ default: // WIN_VISTA
m_nid.cbSize = sizeof(m_nid);
break;
}