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:
parent
e45cc23511
commit
a565c7645e
@ -13,10 +13,8 @@
|
||||
import sys, os, glob, getopt
|
||||
from wxPython.wx import *
|
||||
|
||||
if wxPlatform == "__WXGTK__":
|
||||
# some bitmap related things need to have a wxApp initialized...
|
||||
app = wxPySimpleApp()
|
||||
|
||||
# some bitmap related things need to have a wxApp initialized...
|
||||
app = wxPySimpleApp()
|
||||
wxInitAllImageHandlers()
|
||||
|
||||
def convert(file, maskClr, outputDir, outputName, outType, outExt):
|
||||
|
Loading…
Reference in New Issue
Block a user