Author: bugman Date: Fri Jun 17 12:21:30 2011 New Revision: 13093 URL: http://svn.gna.org/viewcvs/relax?rev=13093&view=rev Log: The wizard arguments are now stored as class variables. Modified: branches/gui_testing/gui/wizard.py Modified: branches/gui_testing/gui/wizard.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/wizard.py?rev=13093&r1=13092&r2=13093&view=diff ============================================================================== --- branches/gui_testing/gui/wizard.py (original) +++ branches/gui_testing/gui/wizard.py Fri Jun 17 12:21:30 2011 @@ -745,6 +745,11 @@ @type style: wx style """ + # Store the args. + self.size_x = size_x + self.size_y = size_y + self.border = border + # Execute the base class method. wx.Dialog.__init__(self, None, id=-1, title=title, style=style) @@ -753,7 +758,7 @@ self.SetSizer(sizer) # Build the central sizer, with borders. - self.main_sizer = add_border(sizer, border=self.border, packing=wx.VERTICAL) + self.main_sizer = add_border(sizer, border=border, packing=wx.VERTICAL) # Set the default size of the dialog. self.SetSize((size_x, size_y))