From a565c7645eb9cd2384b4e3d691e4957bd7e67b86 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 29 Jul 2003 18:51:17 +0000 Subject: [PATCH] Allways need an App object now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wxPython/tools/img2img.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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):