From e9fbc9b060a556e7ea9d1330fb9d1a5436412b45 2010-09-03 21:10:20 From: Brian Granger Date: 2010-09-03 21:10:20 Subject: [PATCH] Fixing wx related issue in guisupport.py. --- diff --git a/IPython/lib/guisupport.py b/IPython/lib/guisupport.py index 8356c60..e16645b 100644 --- a/IPython/lib/guisupport.py +++ b/IPython/lib/guisupport.py @@ -78,6 +78,8 @@ def get_app_wx(*args, **kwargs): import wx app = wx.GetApp() if app is None: + if not kwargs.has_key('redirect'): + kwargs['redirect'] = False app = wx.PySimpleApp(*args, **kwargs) return app