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