[wxPython-users] Can't add image to image list on wxMSW

Robin Dunn robin at alldunn.com
Wed Aug 2 08:13:02 PDT 2006


Hyrum K. Wright wrote:
> I've created an ImageList to use with a ListCtrl, but I'm experiencing
> some odd behavior.  When I try to add one of the images to the ImageList
> on MS Windows, I get a dialog saying "Couldn't add an image to the image
> list", and the image does not appear in the application.  Other images
> work fine on Windows, and the image in question gets added to the image
> list correctly on Linux.  I've tried different image formats (of the
> same image), but the problem continues.
> 
> Is this a bug, or could I be doing something wrong?  I can post relevant
> code upon request.
> 
> This is with wxPython 2.6.3.3 on WindowsXP.

Is it the same size as the other images?

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list