From: Robin Dunn Date: Tue, 29 Jul 2003 18:51:17 +0000 (+0000) Subject: Allways need an App object now X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a565c7645eb9cd2384b4e3d691e4957bd7e67b86 Allways need an App object now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wxPython/tools/img2img.py b/wxPython/wxPython/tools/img2img.py index 202b731276..4d73512762 100644 --- a/wxPython/wxPython/tools/img2img.py +++ b/wxPython/wxPython/tools/img2img.py @@ -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):