Author: bugman Date: Wed Jun 15 11:01:38 2011 New Revision: 13033 URL: http://svn.gna.org/viewcvs/relax?rev=13033&view=rev Log: The new() method now deletes the contents of the main sizer. Modified: branches/gui_testing/gui/relax_gui.py Modified: branches/gui_testing/gui/relax_gui.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/relax_gui.py?rev=13033&r1=13032&r2=13033&view=diff ============================================================================== --- branches/gui_testing/gui/relax_gui.py (original) +++ branches/gui_testing/gui/relax_gui.py Wed Jun 15 11:01:38 2011 @@ -346,6 +346,9 @@ @type event: wx event """ + # First destroy the contents of the main sizer. + self.main_sizer.DeleteWindows() + def open_model_results_exe(self, event): # open model-free results choice = self.list_modelfree.GetStringSelection()