From 2d3c101ee478d90108182a5ee72fc630054ac6b2 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 10 Oct 2005 18:24:04 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=8621 --- clientgui/MainFrame.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clientgui/MainFrame.cpp b/clientgui/MainFrame.cpp index dcde148a14..54b32ee487 100644 --- a/clientgui/MainFrame.cpp +++ b/clientgui/MainFrame.cpp @@ -1253,13 +1253,14 @@ void CMainFrame::OnClose(wxCloseEvent& event) { void CMainFrame::OnAlert(CMainFrameAlertEvent& event) { wxLogTrace(wxT("Function Start/End"), wxT("CMainFrame::OnAlert - Function Begin")); - #ifdef __WXMSW__ CTaskBarIcon* pTaskbar = wxGetApp().GetTaskBarIcon(); wxASSERT(pTaskbar); if ((IsShown() && !event.m_notification_only) || (IsShown() && !pTaskbar->IsBalloonsSupported())) { - ::wxMessageBox(event.m_message, event.m_title, event.m_style, this); + if (!event.m_notification_only) { + ::wxMessageBox(event.m_message, event.m_title, event.m_style, this); + } } else { // If the main window is hidden or minimzed use the system tray ballon // to notify the user instead. This keeps dialogs from interfering