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

roee shlomo roee88 at gmail.com
Mon Apr 14 07:19:01 PDT 2008


>
> Thank you for that! I wonder why it works on my Windows XP then. Did
> you try it on linux perhaps?

Using Windows XP. I have unicode characters in the %appdata% path so it
failed on my system.

But shows a generic Windows icon vs. your Airs application icon when you
> hold down the Alt+Tab key to switch applications in Windows.
>
> I'm not sure why the Alt+Tab icon is displayed differently. If you find
> a fix (I'm new to Python and curious myself) would you share it with the
> rest of us.


Interesting,
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))
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200804=
14/f61656ad/attachment.htm


More information about the wxpython-users mailing list