WxTaskBarIcon
lastmod 2026-11-10created 2015-05-012 edits
wxTaskBarIcon is a class in wxWidgets that displays an icon in the system tray (the taskbar notification area). You set the icon and tooltip with SetIcon(), override CreatePopupMenu() to provide a right-click menu, and receive click events to hide or restore windows. On Windows, macOS, and GTK desktops, it works with each platform's tray mechanism.