Allways need an App object now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-07-29 18:51:17 +00:00
parent e45cc23511
commit a565c7645e

View File

@@ -13,10 +13,8 @@
import sys, os, glob, getopt import sys, os, glob, getopt
from wxPython.wx import * from wxPython.wx import *
if wxPlatform == "__WXGTK__": # some bitmap related things need to have a wxApp initialized...
# some bitmap related things need to have a wxApp initialized... app = wxPySimpleApp()
app = wxPySimpleApp()
wxInitAllImageHandlers() wxInitAllImageHandlers()
def convert(file, maskClr, outputDir, outputName, outType, outExt): def convert(file, maskClr, outputDir, outputName, outType, outExt):