[wxPython-users] Notebook image bug on win32, working on GNU/Linux and Mac OSX

Frank Aune Frank.Aune at broadpark.no
Fri Sep 28 06:58:59 PDT 2007


On Saturday 22 September 2007 01:11:22 Robin Dunn wrote:

> You best bet I think is to preload the images in the image list (if you
> know what they will be and can access them before hand) and then save
> and reuse the indexes as needed.  If you don't know them before you need
> them then I would build a simple abstraction between the image list and
> your other code, where you can map images by some name.  When you ask
> for an image index by name if it is already there then you return the
> existing index, if it is not there then you add it to the image list and
> return the new index.

Hi Robin and group,

I've got concept-code demonstrating the effect I'm experiencing on Win32, but 
not on GNU/Linux or Mac OSX, if someone is interested. Just send me a message 
from a working email adress and I'll send it right over.

I still believe this is a bug in the implementation of wx.ImageList on Win32.

Best regards,
Frank Aune





More information about the wxpython-users mailing list