# HG changeset patch # User s_nakamoto # Date 1277145694 0 # Node ID 9fe8b1ceeb3b8304887f8f5d96a823d7a9e4283a # Parent ba8e3b05b2c393ac681f3cdc977c109bd0581a2f fix system tray icon on windows diff --git a/ui.cpp b/ui.cpp --- a/ui.cpp +++ b/ui.cpp @@ -2437,7 +2437,9 @@ { strlcpy(pszPrevTip, strTooltip.c_str(), sizeof(pszPrevTip)); #ifdef __WXMSW__ - SetIcon(wxICON(bitcoin), strTooltip); + // somehow it'll choose the wrong icon and scale it down if + // we use the main icon, so we hand it one with only 16x16 + SetIcon(wxICON(favicon), strTooltip); #else SetIcon(bitcoin80_xpm, strTooltip); #endif diff --git a/ui.rc b/ui.rc --- a/ui.rc +++ b/ui.rc @@ -12,3 +12,4 @@ addressbook16mask BITMAP "rc/addressbook16mask.bmp" addressbook20 BITMAP "rc/addressbook20.bmp" addressbook20mask BITMAP "rc/addressbook20mask.bmp" +favicon ICON "rc/favicon.ico"