wxImage problem

Ed eddieborder2001 at yahoo.co.uk
Fri Apr 12 14:48:50 EDT 2002


how can i put an image into a wxPanel?
i read on the net that the code is ...

wxImage_AddHandler(wxGIFHandler())
gif = wxImage('bitmaps/image.gif', wxBITMAP_TYPE_GIF).ConvertToBitmap()
wxStaticBitmap(panel, -1, bmp, wxPoint(10, pos),wxSize(bmp.GetWidth
(),bmp.GetHeight()))



More information about the Python-list mailing list