About bitmap types in .xrc file...

Hello,
Does the <bitmap></bitmap> only support .bmp file in .xrc file in wxPython?When I use <bitmap>foo.gif</bitmap> an error dlg poped out and says that there is no handler. How can I insert a handler?In wxWindows I can easily insert a wxGIFHandler, but in wxPython I don't know how to do this ...

BTW, I think it realy very very important to coming a detailed wxPython document, not that of wxWindows.

Thank you in advance...

          zilong_wu@163.net
          2003-01-12

bobo wrote:

Hello, Does the <bitmap></bitmap> only support .bmp file in .xrc file
in wxPython?When I use <bitmap>foo.gif</bitmap> an error dlg poped
out and says that there is no handler. How can I insert a handler?In
wxWindows I can easily insert a wxGIFHandler, but in wxPython I don't
know how to do this ...

  wxInitAllImageHandlers()
or
  wxImage_AddHandler(wxGifHandler())

BTW, I think it realy very very important to coming a detailed
wxPython document, not that of wxWindows.

Yes.

···

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