[try 3][systray 2]: explorer: Set adaptor window icon when
application changes it
Kirill K. Smirnov
lich at math.spbu.ru
Thu Jan 4 01:47:23 CST 2007
-------------- next part --------------
diff --git a/programs/explorer/systray.c b/programs/explorer/systray.c
index 7fc66fd..7ffd81c 100644
--- a/programs/explorer/systray.c
+++ b/programs/explorer/systray.c
@@ -200,6 +200,8 @@ static void modify_icon(NOTIFYICONDATAW
if (icon->image) DestroyIcon(icon->image);
icon->image = CopyIcon(nid->hIcon);
+ WINE_TRACE("updating icon\n");
+ SendMessageW(icon->window, WM_SETICON, ICON_SMALL, (LPARAM)(icon->image));
RedrawWindow(icon->window, NULL, NULL, RDW_ERASE | RDW_INVALIDATE | RDW_UPDATENOW);
}
More information about the wine-patches
mailing list