]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/OGL.py
Added some info panels that show size and colour attributes about the widget
[wxWidgets.git] / wxPython / demo / OGL.py
index 32df0612ec11db976c3f3b190ebe6f661dc0a050..7412974ea1b88a0999b254c0ad61bdb350c80ae0 100644 (file)
@@ -214,7 +214,7 @@ class TestWindow(ogl.ShapeCanvas):
             )
 
         bmp = images.getTest2Bitmap()
-        mask = wx.MaskColour(bmp, wx.BLUE)
+        mask = wx.Mask(bmp, wx.BLUE)
         bmp.SetMask(mask)
 
         s = ogl.BitmapShape()