From 62a3c9967e1549d4646ff782660783ad1b3d6a19 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 2 Aug 2005 22:15:46 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=6989 --- clientgui/BOINCTaskBar.cpp | 6 ++++-- clientgui/BOINCTaskBar.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/clientgui/BOINCTaskBar.cpp b/clientgui/BOINCTaskBar.cpp index d386a155ee..ee4540c782 100644 --- a/clientgui/BOINCTaskBar.cpp +++ b/clientgui/BOINCTaskBar.cpp @@ -52,10 +52,12 @@ END_EVENT_TABLE () CTaskBarIcon::CTaskBarIcon() : -#ifdef __WXMAC__ +#if defined(__WXMAC__) wxTaskBarIcon(DOCK) -#else +#elif defined(__WXMSW__) wxTaskBarIconEx(wxT("BOINCManagerSystray")) +#else + wxTaskBarIcon() #endif { m_iconTaskBarIcon = wxIcon(boinc_xpm); diff --git a/clientgui/BOINCTaskBar.h b/clientgui/BOINCTaskBar.h index bd82f71c2e..5fa15d238c 100644 --- a/clientgui/BOINCTaskBar.h +++ b/clientgui/BOINCTaskBar.h @@ -73,7 +73,9 @@ public: #ifdef __APPLE__ wxMenu *CreatePopupMenu(); +#endif +#ifndef __WXMSW__ inline bool CTaskBarIcon::IsBalloonsSupported() { return false; }