X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bddab5e98b4381a706546c0b7ebd6ab1982041e3..9d7de3c2b84dc40d969d5f993247df02c18b3d3f:/wxPython/tools/img2xpm.py?ds=sidebyside
diff --git a/wxPython/tools/img2xpm.py b/wxPython/tools/img2xpm.py
index 0f3874524e..692156d35d 100644
--- a/wxPython/tools/img2xpm.py
+++ b/wxPython/tools/img2xpm.py
@@ -8,7 +8,7 @@ Usage:
Options:
- -o
The directory to place the .xmp file(s), defaults to
+ -o 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
@@ -25,9 +25,6 @@ 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()
@@ -99,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:])