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