how to load an icon from a string?

Alec Bennett whatyoulookin at yahoo.com
Thu Dec 6 19:55:53 PST 2007


The usual way I'm assigning an icon to my program
window is this:

icon = wx.Icon("icon.ico", wx.BITMAP_TYPE_ICO)
self.SetIcon(icon)

I'm wondering if there's a way to load it from a
string so I wouldn't have to include the icon file?




      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 





More information about the wxpython-users mailing list