WxPython — wiki
This method can be used to create a wxBitmap inside of wxPython, using wx.BitmapFromBufferRGB or RGBA.
bmp = wx.BitmapFromBufferRGB( surface.get_width(), surface.get_height(), surface.get_buffer() )
This method can be used to create a wxBitmap inside of wxPython, using wx.BitmapFromBufferRGB or RGBA.
bmp = wx.BitmapFromBufferRGB( surface.get_width(), surface.get_height(), surface.get_buffer() )