bh: thuban/Thuban/UI classifier.py,1.73,1.74
cvs@intevation.de
cvs at intevation.de
Thu Apr 7 21:46:31 CEST 2005
Author: bh
Update of /thubanrepository/thuban/Thuban/UI
In directory doto:/tmp/cvs-serv13219/Thuban/UI
Modified Files:
classifier.py
Log Message:
(ClassGrid.__init__): Use -1 as the ID.
(ID_CLASS_TABLE): Removed. It wasn't used anywhere except in
ClassGrid.__init__ and it's value is outside of the valid
range (must be < 32768). wxPython 2.5 complains about it with an
exception.
Index: classifier.py
===================================================================
RCS file: /thubanrepository/thuban/Thuban/UI/classifier.py,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- classifier.py 8 Feb 2005 20:34:29 -0000 1.73
+++ classifier.py 7 Apr 2005 19:46:28 -0000 1.74
@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2004 by Intevation GmbH
+# Copyright (c) 2003-2005 by Intevation GmbH
# Authors:
# Jan-Oliver Wagner <jan at intevation.de> (2003-2004)
# Martin Schulze <joey at infodrom.org> (2004)
@@ -44,8 +44,6 @@
from Thuban.UI.layerproperties import LayerProperties
from messages import MAP_REPLACED
-ID_CLASS_TABLE = 40011
-
# table columns
COL_VISIBLE = 0
@@ -75,8 +73,7 @@
clazz -- the working classification that this grid should
use for display.
"""
-
- wxGrid.__init__(self, parent, ID_CLASS_TABLE, style = 0)
+ wxGrid.__init__(self, parent, -1, style = 0)
self.classifier = classifier
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)