[wxPython] Re: wxpython and images

You need to initialise the image handlers like so (in your wxApp OnInit):

  wxInitAllImageHandlers()

HTH,
Mike

sameer wrote:

···

probably something silly i'm missing here, but why is that when i run
the wxpython demo (on win2k), wxImage shows jpg, gif, png, and bmp
images, but when i run that same file from another directory, only bmp
images work, and wxpython gives a No image handler found type 17
error.

_______________________________________
   Mike C. Fletcher
   http://members.rogers.com/mcfletch/