Hi! First of all I'd suggest using wxImage instead of wxBitmap. Either way you should initialize the image handler before loading the image. Try wxInitAllImageHandlers() to initialize all available handlers, or use wxImageHandler::AddHandler(new wxGIFHandler); to initialize only the gif handler.
upCASE ----------------------------------- If it was hard to write, it should be hard to read!- Do. Or do not. There is no try! |