Author: bugman Date: Tue Nov 15 15:44:42 2016 New Revision: 28280 URL: http://svn.gna.org/viewcvs/relax?rev=28280&view=rev Log: Keyword to positional argument conversion for the GUI wx.ScrolledWindow.EnableScrolling() calls.
These function calls were using keyword arguments, however the old wxPython and Phoenix documentation say that these are not keyword arguments (this must have been for backwards compatibility with very old wxPython versions). Modified: trunk/gui/about.py trunk/gui/analyses/auto_model_free.py Modified: trunk/gui/about.py URL: http://svn.gna.org/viewcvs/relax/trunk/gui/about.py?rev=28280&r1=28279&r2=28280&view=diff ============================================================================== --- trunk/gui/about.py (original) +++ trunk/gui/about.py Tue Nov 15 15:44:42 2016 @@ -526,7 +526,7 @@ dim_y = self.offset() + self.border self.SetSize((dim_x, dim_y)) self.window.SetVirtualSize((dim_x, dim_y)) - self.window.EnableScrolling(x_scrolling=False, y_scrolling=False) + self.window.EnableScrolling(False, False) # Add space to the bottom. self.offset(self.border) Modified: trunk/gui/analyses/auto_model_free.py URL: http://svn.gna.org/viewcvs/relax/trunk/gui/analyses/auto_model_free.py?rev=28280&r1=28279&r2=28280&view=diff ============================================================================== --- trunk/gui/analyses/auto_model_free.py (original) +++ trunk/gui/analyses/auto_model_free.py Tue Nov 15 15:44:42 2016 @@ -144,7 +144,7 @@ virt_y = self.offset() self.SetSize((dim_x, self.dim_y)) self.window.SetVirtualSize((dim_x, virt_y)) - self.window.EnableScrolling(x_scrolling=False, y_scrolling=True) + self.window.EnableScrolling(False, True) _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits