can someone please show me a better way to do this. i'm trying to read an image from a web page and add it to a wxStaticBitmap. i'm currently saving it the gif to a file, then reading it back in. there must be a way to not have to write the image to disk. i tried several ways, but this is the only way i've been able to correctly display the image.
gif = urlopen(‘http://xxx/picture.gif’).read()
file(‘x.gif’, ‘wb’).write(gif)
wxStaticBitmap(self, -1, wxBitmap(‘x.gif’, wxBITMAP_TYPE_GIF), wxPoint(0, 0), wxSize(450, 400))
thanks,
bryan