Author: bugman Date: Fri Jan 15 11:25:21 2010 New Revision: 10236 URL: http://svn.gna.org/viewcvs/relax?rev=10236&view=rev Log: Removed a number of calls to wx.PySimpleApp(). This corresponds to one component of the patch_II file attached to https://gna.org/task/?6847 by Michael Bieri (https://gna.org/users/michaelbieri). I'm guessing these were not necessary? Modified: branches/bieri_gui/gui_bieri/res/message.py Modified: branches/bieri_gui/gui_bieri/res/message.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/res/message.py?rev=10236&r1=10235&r2=10236&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/res/message.py (original) +++ branches/bieri_gui/gui_bieri/res/message.py Fri Jan 15 11:25:21 2010 @@ -70,11 +70,9 @@ def relax_run_ok(msg1): - appilcation = wx.PySimpleApp() wx.MessageBox(msg1, style = wx.OK) def exec_relax(): - application = wx.PySimpleApp() check = False startrelax = wx.MessageDialog(None, message = 'Start relax?', style = wx.YES_NO | wx.NO_DEFAULT) if startrelax.ShowModal() == wx.ID_YES: @@ -84,11 +82,9 @@ return check def missing_data(): - application = wx.PySimpleApp() wx.MessageBox('Missing Data!', style = wx.OK | wx.ICON_ERROR) def question(msg): - application = wx.PySimpleApp() check = False startrelax = wx.MessageDialog(None, message = msg, style = wx.YES_NO | wx.NO_DEFAULT) if startrelax.ShowModal() == wx.ID_YES: @@ -98,7 +94,6 @@ return check def dir_message(msg): - application = wx.PySimpleApp() wx.MessageBox(msg, style = wx.OK | wx.ICON_INFORMATION)