Mercurial > hg > bitcoin
changeset 75:a059bd1cbaa9 draft
fix system tray icon on windows
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@88 1a98c847-1fd6-4fd8-948a-caf3550aa51b
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> |
---|---|
date | Mon, 21 Jun 2010 18:41:34 +0000 |
parents | 9c042b491420 |
children | e85f5847e4df |
files | ui.cpp ui.rc |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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