X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c10ae510189067379125802d4f7dcf2fed4d5b39..864a91c827740da5e8a3e1f36feaf396d34dedc0:/wxPython/demo/OGL.py?ds=inline diff --git a/wxPython/demo/OGL.py b/wxPython/demo/OGL.py index 3dab78b679..7412974ea1 100644 --- a/wxPython/demo/OGL.py +++ b/wxPython/demo/OGL.py @@ -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:])