X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4b73b1b8e585418459362c9bf9173aa21da8c41..d0ee33f5c6908b4ac5e1364381f0ef00942e3936:/wxPython/wx/tools/img2img.py diff --git a/wxPython/wx/tools/img2img.py b/wxPython/wx/tools/img2img.py index 130b78ab94..0f3595b359 100644 --- a/wxPython/wx/tools/img2img.py +++ b/wxPython/wx/tools/img2img.py @@ -32,7 +32,7 @@ def convert(file, maskClr, outputDir, outputName, outType, outExt): else: if maskClr: om = img.GetMask() - mask = wx.MaskColour(img, maskClr) + mask = wx.Mask(img, maskClr) img.SetMask(mask) if om is not None: om.Destroy()