]> git.saurik.com Git - wxWidgets.git/commitdiff
No longer needs to create a wxApp object before making bitmaps
authorRobin Dunn <robin@alldunn.com>
Fri, 11 May 2001 17:57:09 +0000 (17:57 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 11 May 2001 17:57:09 +0000 (17:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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":