mailr28280 - in /trunk/gui: about.py analyses/auto_model_free.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on November 15, 2016 - 15:44:
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)
 
 
 




Related Messages


Powered by MHonArc, Updated Tue Nov 15 16:00:05 2016