mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-08 22:19:18 +00:00
6996708: The event on the tray icon does not trigger and there is no message printed
Reviewed-by: art, ant
This commit is contained in:
parent
0a926d8d57
commit
57b41de95d
@ -200,10 +200,9 @@ void AwtTrayIcon::InitNID(UINT uID)
|
||||
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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user