[wxpython-users] ANN: Airs v0.9d released

Malcolm Greene python at bdurham.com
Mon Apr 14 07:44:41 PDT 2008


Roee,

>> Malcolm said: ... shows a generic Windows icon vs. your Airs application icon when you hold down the Alt+Tab key to switch applications in Windows.

<snip> 
Roee said:
The problem only happens when the icon is taken from the embeded image
generated by img2py. When using `airs.ico` as the application icon
everything works fine. At first I though its because of the image size
(16*16 in the image vs max 32*32 in the icon), but this isn't the case.

To test, change airs/gui/AirsFrame.py line 44, from:

self.SetIcon(wx.IconFromBitmap(icon_main.getBitmap()))

to:

self.SetIcon(wx.Icon("airs.ico", wx.BITMAP_TYPE_ICO))
</snip>

Thanks for that explanation!

Malcolm


More information about the wxpython-users mailing list