]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/tools/img2xpm.py
don't use EM_STREAMIN at all in Unicode mode, it's not needed
[wxWidgets.git] / wxPython / tools / img2xpm.py
index 4acc0d6b5023053c7528128a7406e4db390d3b76..692156d35d9727165f85de794808e8d57bbbb027 100644 (file)
@@ -8,7 +8,7 @@ Usage:
 
 Options:
 
-    -o <dir>       The directory to place the .xmp file(s), defaults to
+    -o <dir>       The directory to place the .xpm file(s), defaults to
                    the current directory.
 
     -m <#rrggbb>   If the original image has a mask or transparency defined
@@ -26,7 +26,7 @@ import sys, os, glob, getopt, string
 from wxPython.wx import *
 
 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":
@@ -96,9 +96,6 @@ def main(args):
 
 
 if __name__ == "__main__":
-    if wxPlatform == "__WXGTK__":
-        app = wxPySimpleApp()     # Blech!  the GUI needs initialized before
-                                  # bitmaps can be created...
     main(sys.argv[1:])