mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Merge branch 'patch-1' of https://github.com/MichaelHipp/Phoenix into MichaelHipp-patch-1
Conflicts: wx/tools/img2img.py
This commit is contained in:
@@ -21,11 +21,7 @@ import sys
|
||||
import wx
|
||||
|
||||
def convert(file, maskClr, outputDir, outputName, outType, outExt):
|
||||
if os.path.splitext(file)[1].lower() == ".ico":
|
||||
img = wx.Bitmap(file, wx.BITMAP_TYPE_ICO)
|
||||
else:
|
||||
img = wx.Bitmap(file, wx.BITMAP_TYPE_ANY)
|
||||
|
||||
img = wx.Bitmap(file, wx.BITMAP_TYPE_ANY)
|
||||
if not img.IsOk():
|
||||
return 0, file + " failed to load!"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user