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() ) wx.BitmapFromBufferRGBA must be used if the surface contains per pixel alpha data.