[Thuban-commits] r2883 - in trunk/thuban: . Thuban/UI

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Aug 13 01:21:13 CEST 2009


Author: dpinte
Date: 2009-08-13 01:21:12 +0200 (Thu, 13 Aug 2009)
New Revision: 2883

Modified:
   trunk/thuban/ChangeLog
   trunk/thuban/Thuban/UI/classgen.py
Log:
2009-08-13 Didrik Pinte <dpinte at dipole-consulting.com>

  * Thuban/UI/classgen.py : applying patch from Anthony Lenton solving a 
    problem generating class on 64bits system



Modified: trunk/thuban/ChangeLog
===================================================================
--- trunk/thuban/ChangeLog	2009-08-12 23:14:29 UTC (rev 2882)
+++ trunk/thuban/ChangeLog	2009-08-12 23:21:12 UTC (rev 2883)
@@ -1,5 +1,10 @@
 2009-08-13 Didrik Pinte <dpinte at dipole-consulting.com>
 
+  * Thuban/UI/classgen.py : applying patch from Anthony Lenton solving a
+    problem generating class on 64bits system
+
+2009-08-13 Didrik Pinte <dpinte at dipole-consulting.com>
+
   * Thuban/UI/projdialog.py : removing inexistant ProjPanel.Clear() method calls
 
 2009-07-09 Didrik Pinte <dpinte at dipole-consulting.com>

Modified: trunk/thuban/Thuban/UI/classgen.py
===================================================================
--- trunk/thuban/Thuban/UI/classgen.py	2009-08-12 23:14:29 UTC (rev 2882)
+++ trunk/thuban/Thuban/UI/classgen.py	2009-08-12 23:21:12 UTC (rev 2883)
@@ -409,7 +409,7 @@
         self.numGroupsChanging = False
         self.steppingChanging = False
 
-        self.numGroupsCtrl.SetRange(1, sys.maxint)
+        self.numGroupsCtrl.SetRange(1, 2**31-1)
 
         self.numGroupsCtrl.SetValue(1)
         self.stepCtrl.SetValue("1")
@@ -832,7 +832,7 @@
                                         _("Retrieve from Table"))
 
         self.spin_numClasses = wx.SpinCtrl(self, -1, style=wx.TE_RIGHT)
-        self.spin_numClasses.SetRange(2, sys.maxint)
+        self.spin_numClasses.SetRange(2, 2**31-1)
         self.spin_numClasses.SetValue(2)
 
 



More information about the Thuban-commits mailing list