dispAttrs = wx.glcanvas.GLAttributes() dispAttrs.PlatformDefaults().MinRGBA(8, 8, 8, 8).DoubleBuffer().Depth(32).EndList()