windows fix

svn path=/trunk/boinc/; revision=1052
This commit is contained in:
Eric Heien 2003-03-11 18:58:31 +00:00
parent 4118bcf1ab
commit c52bea0a20
1 changed files with 1 additions and 0 deletions

View File

@ -503,6 +503,7 @@ void CMainWindow::SetStatusIcon(DWORD dwMessage)
// if icon is in that state already, there is nothing to do
if(dwMessage == m_nIconState) return;
NOTIFYICONDATA icon_data;
memset( &icon_data, 0, sizeof(NOTIFYICONDATA) );
icon_data.cbSize = sizeof(NOTIFYICONDATA);
icon_data.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP;
icon_data.hWnd = GetSafeHwnd();