mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
fix system tray icon on windows
This commit is contained in:
parent
a66d097cbe
commit
dbe23aadae
4
ui.cpp
4
ui.cpp
@ -2437,7 +2437,9 @@ void CMyTaskBarIcon::Show(bool fShow)
|
|||||||
{
|
{
|
||||||
strlcpy(pszPrevTip, strTooltip.c_str(), sizeof(pszPrevTip));
|
strlcpy(pszPrevTip, strTooltip.c_str(), sizeof(pszPrevTip));
|
||||||
#ifdef __WXMSW__
|
#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
|
#else
|
||||||
SetIcon(bitcoin80_xpm, strTooltip);
|
SetIcon(bitcoin80_xpm, strTooltip);
|
||||||
#endif
|
#endif
|
||||||
|
1
ui.rc
1
ui.rc
@ -12,3 +12,4 @@ addressbook16 BITMAP "rc/addressbook16.bmp"
|
|||||||
addressbook16mask BITMAP "rc/addressbook16mask.bmp"
|
addressbook16mask BITMAP "rc/addressbook16mask.bmp"
|
||||||
addressbook20 BITMAP "rc/addressbook20.bmp"
|
addressbook20 BITMAP "rc/addressbook20.bmp"
|
||||||
addressbook20mask BITMAP "rc/addressbook20mask.bmp"
|
addressbook20mask BITMAP "rc/addressbook20mask.bmp"
|
||||||
|
favicon ICON "rc/favicon.ico"
|
||||||
|
Loading…
Reference in New Issue
Block a user