]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/tools/img2py.py
Don't build the animate contrib
[wxWidgets.git] / wxPython / wx / tools / img2py.py
index b4f6b4c9e4ea1b7396f1b8903178364c2d290a27..71a6099b6d9f5df9ab1eb25fde0a5186ca4df247 100644 (file)
@@ -124,7 +124,7 @@ def crunch_data(data, compressed):
     return fp.getvalue()
 
 
-
+app = None
 def main(args):
     if not args or ("-h" in args):
         print __doc__
@@ -132,6 +132,7 @@ def main(args):
 
     # some bitmap related things need to have a wxApp initialized...
     if wx.GetApp() is None:
+        global app
         app = wx.PySimpleApp()
 
     append = 0