Has anyone done this in a cross-platform way?
Thanks
-robin
icons in wxStatusBar
wxTaskBarIcon ?
wxTaskBarIcon
This class represents a taskbar icon, appearing in the 'system tray' and responding to mouse clicks. An icon has an optional tooltip. Supported under most ports (wxMSW, wxGTK, wxMotif, wxX11, wxMac).
X Window System Note
Under X Window System, the window manager must support either the System Tray Protocol by freedesktop.org (WMs used by modern desktop environments such as GNOME >= 2, KDE >= 3 and XFCE >= 4 all do) or the older methods used in GNOME 1.2 and KDE 1 and 2. If it doesn't, the icon will appear as a toplevel window on user's desktop.
Because not all window managers have system tray, there's no guarantee that wxTaskBarIcon will work correctly under X Window System and so the applications should use it only as an optional component of their user interface. The user should be required to explicitly enable the taskbar icon on Unix, it shouldn't be on by default.
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Jorg, aren't the taskbar and application's status bar two different things? 
rex666, it is possible. You can see statusbar icons in the following xMule (which uses wxWidgets) screenshot: http://alts.homelinux.net/shots/19-0.jpg
I will look up some code in xMule and post it here.

rex666, it is possible. You can see statusbar icons in the following xMule (which uses wxWidgets) screenshot: http://alts.homelinux.net/shots/19-0.jpg
I will look up some code in xMule and post it here.