diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-06-21 18:41:34 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-06-21 18:41:34 +0000 |
commit | dbe23aadaea44a4078f9975681af37e37f40b427 (patch) | |
tree | e622f7a8a920dec9b627c918faed8762b24af9ec | |
parent | a66d097cbe5f1b8f4327a75cc5e4c169d6d55e52 (diff) |
fix system tray icon on windows
-rw-r--r-- | ui.cpp | 4 | ||||
-rw-r--r-- | ui.rc | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -2437,7 +2437,9 @@ void CMyTaskBarIcon::Show(bool fShow) {
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
@@ -12,3 +12,4 @@ addressbook16 BITMAP "rc/addressbook16.bmp" addressbook16mask BITMAP "rc/addressbook16mask.bmp"
addressbook20 BITMAP "rc/addressbook20.bmp"
addressbook20mask BITMAP "rc/addressbook20mask.bmp"
+favicon ICON "rc/favicon.ico"
|