Author: bugman Date: Tue Jun 5 11:00:36 2012 New Revision: 16662 URL: http://svn.gna.org/viewcvs/relax?rev=16662&view=rev Log: The wizard window _cancel() method now calls the current page's on_next() method. This allows the page to clean itself up. Modified: branches/uf_redesign/gui/wizard.py Modified: branches/uf_redesign/gui/wizard.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/wizard.py?rev=16662&r1=16661&r2=16662&view=diff ============================================================================== --- branches/uf_redesign/gui/wizard.py (original) +++ branches/uf_redesign/gui/wizard.py Tue Jun 5 11:00:36 2012 @@ -573,6 +573,9 @@ @type event: wx event """ + # Execute the page's on_next() method to allow the page to clean itself up. + self._pages[self._current_page].on_next() + # Close the window. self.Close()