]> 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 3dab78b6793b525357f786945694c54627c2876b..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()
@@ -318,5 +318,5 @@ manipulation of simple and complex graphic images on a canvas.
 if __name__ == '__main__':
     import sys,os
     import run
-    run.main(['', os.path.basename(sys.argv[0])])
+    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])