##// END OF EJS Templates
Fixing wx related issue in guisupport.py.
Brian Granger -
Show More
@@ -78,6 +78,8 b' def get_app_wx(*args, **kwargs):'
78 import wx
78 import wx
79 app = wx.GetApp()
79 app = wx.GetApp()
80 if app is None:
80 if app is None:
81 if not kwargs.has_key('redirect'):
82 kwargs['redirect'] = False
81 app = wx.PySimpleApp(*args, **kwargs)
83 app = wx.PySimpleApp(*args, **kwargs)
82 return app
84 return app
83
85
General Comments 0
You need to be logged in to leave comments. Login now