After the usual import wx you must also import wx.adv and then instead of calling wx.TaskBarIcon you must call wx.adv.TaskBarIcon and you're golden. ;)
--
You received this message because you are subscribed to a topic in the Google Groups "wxPython-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/OraIbkRMMEM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wxpython-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Cool, works!Now another thing I can't find: wx.IconFromBitmapAny idea where it is?Thanks,Ram.
(The `bitmap_from_pkg_resources` function creates a bitmap.)self.SetIcon(wx.Icon(wx_tools.bitmap_tools.bitmap_from_pkg_resources(resources_package,'cute_mouse_grid.png'),),'CuteMouseGrid')
--
I've tried replacing IconFromBitmap with Icon as advised, so my code looks like this:
(The `bitmap_from_pkg_resources` function creates a bitmap.)self.SetIcon(wx.Icon(wx_tools.bitmap_tools.bitmap_from_pkg_resources(resources_package,'cute_mouse_grid.png'),),'CuteMouseGrid')
But then I get an error dialog saying: "iCCP: known incorrect sRGB profile".
Any idea how to solve this?
--