Now that XPMs can be written in wxGTK, updated my conversion tools to
actually do it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,11 +25,8 @@ Options:
|
||||
import sys, os, glob, getopt, string
|
||||
from wxPython.wx import *
|
||||
|
||||
if wxPlatform == "__WXGTK__":
|
||||
raise SystemExit, "This tool can not be used on wxGTK until wxGTK can save XPM files."
|
||||
|
||||
wxInitAllImageHandlers()
|
||||
|
||||
app = wxPySimpleApp() # just to let global initialization to take place...
|
||||
|
||||
def convert(file, maskClr, outputDir, outputName):
|
||||
if string.lower(os.path.splitext(file)[1]) == ".ico":
|
||||
|
Reference in New Issue
Block a user