]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/tools/img2xpm.py
Don't create a bitmap with dimensions <= 0...
[wxWidgets.git] / wxPython / tools / img2xpm.py
index 0f71d510560e0cee953f09f6af98eaa8c346bba8..692156d35d9727165f85de794808e8d57bbbb027 100644 (file)
@@ -27,10 +27,6 @@ from wxPython.wx import *
 
 wxInitAllImageHandlers()
 
-if wxPlatform == "__WXGTK__":
-    app = wxPySimpleApp()     # Blech!  the GUI needs initialized before
-                              # bitmaps can be created...
-
 
 def convert(file, maskClr, outputDir, outputName):
     if string.lower(os.path.splitext(file)[1]) == ".ico":