No longer needs to create a wxApp object before making bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c2fa61e833
commit
be52217ed3
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user