Tags : :
Other tools, like Deluge, Dropbox, the FireTray extension for Thunderbird (and, if I remember correctly, Skype too) use the system theming API to resolve their tray icons so that they can be customized.
The GNOME/GTK+ developers posted an explanation for how to do this with application-specific icons. (And it links to the relevant specs, if needed)
Since wxWidgets doesn't wrap this API, I'd suggest using
That way, theming the tray icon Just Works™ and you don't have to write your own lookup code.
It would also make it easy to offer a "Skin to use" option which just pulls from the system icon theme's selection of toolbar icons and falls back to the Tango theme you already have if they're not available. (After all, Tango was specifically designed with the goal of fitting into as wide a variety of icon themes as possible.)
The XDG Icon Naming Specification defines a core list of icon names that all themes should provide and what meaning theme designers should preserve for each one.
For ensuring the best chance that icon names beyond that will find something in the system theme, it's become a bit of a