Don't use deprecated wx.MaskColour

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-06-01 21:45:17 +00:00
parent eb03e0e714
commit 241af5cf6a

View File

@@ -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()