X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4b73b1b8e585418459362c9bf9173aa21da8c41..6e5551ad85f73b14b02f42a26ab5609ab4b8d468:/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()