X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..7fdaaabe427325cd10e8a9130c26a596b6997f98:/wxPython/demo/StaticBitmap.py?ds=sidebyside diff --git a/wxPython/demo/StaticBitmap.py b/wxPython/demo/StaticBitmap.py index 7bec8cd74c..d45f28b9cd 100644 --- a/wxPython/demo/StaticBitmap.py +++ b/wxPython/demo/StaticBitmap.py @@ -13,7 +13,7 @@ class TestPanel(wx.Panel): wx.StaticText(self, -1, "This is a wx.StaticBitmap.", (45, 15)) bmp = images.getTest2Bitmap() - mask = wx.MaskColour(bmp, wx.BLUE) + mask = wx.Mask(bmp, wx.BLUE) bmp.SetMask(mask) wx.StaticBitmap(self, -1, bmp, (80, 50), (bmp.GetWidth(), bmp.GetHeight()))