]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Mask.py
Namechange changes
[wxWidgets.git] / wxPython / demo / Mask.py
index 0af29a37612b714c3cfec89742d524de42b91742..cf7123cb8fc69c4df26e03620c13d903a3bb8132 100644 (file)
@@ -40,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