Author: bugman Date: Sat Aug 6 22:27:20 2011 New Revision: 14226 URL: http://svn.gna.org/viewcvs/relax?rev=14226&view=rev Log: add_execute_relax() is now actually returning the button. Modified: branches/gui_testing/gui/analyses/base.py Modified: branches/gui_testing/gui/analyses/base.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/base.py?rev=14226&r1=14225&r2=14226&view=diff ============================================================================== --- branches/gui_testing/gui/analyses/base.py (original) +++ branches/gui_testing/gui/analyses/base.py Sat Aug 6 22:27:20 2011 @@ -161,8 +161,8 @@ # Add the element to the box. box.Add(sizer, 0, wx.ALIGN_RIGHT, 0) - # Return the ID. - return id + # Return the button. + return button def add_spin_control(self, box, parent, text='', min=None, max=None, control=wx.SpinCtrl, width=-1, height=-1):