X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..e8a71fa08cdf8f1ac9963b35928e42dd6ac39bc2:/wxPython/demo/Mask.py diff --git a/wxPython/demo/Mask.py b/wxPython/demo/Mask.py index 8d5a43c58b..cf7123cb8f 100644 --- a/wxPython/demo/Mask.py +++ b/wxPython/demo/Mask.py @@ -1,7 +1,3 @@ -# 11/20/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import wx @@ -44,7 +40,7 @@ class TestMaskWindow(wx.ScrolledWindow): self.bmp_withmask = images.getTestStar2Bitmap() # this mask comes from a monochrome bitmap - self.bmp_themask = wx.BitmapFromImage(images.getTestMaskImage(), 1) + self.bmp_themask = images.getTestMaskBitmap() mask = wx.Mask(self.bmp_themask) # set the mask on our bitmap