]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/tools/img2img.py
Allow AutoCompletion for items in collections too
[wxWidgets.git] / wxPython / wx / tools / img2img.py
index 130b78ab94bd9bed1dd8ac8595096dc060d5e5bd..0f3595b359b1380e176dac139b97b3881beb25ac 100644 (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()