]> git.saurik.com Git - wxWidgets.git/commitdiff
Allways need an App object now
authorRobin Dunn <robin@alldunn.com>
Tue, 29 Jul 2003 18:51:17 +0000 (18:51 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 29 Jul 2003 18:51:17 +0000 (18:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wxPython/tools/img2img.py

index 202b73127671021f6c0e0e2b0500ffef3a1b4666..4d73512762917d12afc5b9419655ada5536e9250 100644 (file)
 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):