summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2020-09-26 22:16:35 (GMT)
committerKevin Walzer <kw@codebykevin.com>2020-09-26 22:16:35 (GMT)
commitc9cf198e8fc9bf2f5f2fd5c3c6f1c921da9af940 (patch)
treecf07d65f8b60ce5e91b2103b6795bd31a1c1e730 /win
parentc3b27241fb174fb3a876e45093b643e68dc046a1 (diff)
downloadtk-c9cf198e8fc9bf2f5f2fd5c3c6f1c921da9af940.zip
tk-c9cf198e8fc9bf2f5f2fd5c3c6f1c921da9af940.tar.gz
tk-c9cf198e8fc9bf2f5f2fd5c3c6f1c921da9af940.tar.bz2
System notifications now display system info icon on Windows
Diffstat (limited to 'win')
-rw-r--r--win/tkWinSysTray.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/tkWinSysTray.c b/win/tkWinSysTray.c
index 3c92722..878b6cd 100644
--- a/win/tkWinSysTray.c
+++ b/win/tkWinSysTray.c
@@ -1610,7 +1610,8 @@ WinSystrayCmd(ClientData clientData, Tcl_Interp * interp,
ni.uID = icoPtr -> id;
ni.uFlags = NIF_INFO;
ni.uCallbackMessage = ICON_MESSAGE;
- ni.hIcon = hIcon;
+ ni.hIcon = icoPtr -> hIcon;
+ ni.dwInfoFlags = NIIF_INFO;
if (argc < 2) {
Tcl_AppendResult(interp, "wrong # args: should be \"",