bernhard: thuban/Thuban/UI classgen.py,1.35,1.36
cvs@intevation.de
cvs at intevation.de
Thu Jan 20 12:45:17 CET 2005
Author: bernhard
Update of /thubanrepository/thuban/Thuban/UI
In directory doto:/tmp/cvs-serv23751/Thuban/UI
Modified Files:
classgen.py
Log Message:
* Thuban/UI/classgen.py (OnRetrieve()): Added a comment
that OnRangeText might be called twice and using None as argument.
Index: classgen.py
===================================================================
RCS file: /thubanrepository/thuban/Thuban/UI/classgen.py,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- classgen.py 20 Jan 2005 11:30:52 -0000 1.35
+++ classgen.py 20 Jan 2005 11:45:15 -0000 1.36
@@ -904,7 +904,11 @@
try:
min, max = table.ValueRange(self.fieldName)
self.text_range.SetValue("[" + str(min) + ";" + str(max) + "]")
- self.OnRangeText(0)
+ # This is a workaround, which will result in OnRangeText
+ # being called twice on some platforms.
+ # Testing showed this is needed with current wx 2.4. versions
+ # on MacOSX to guarantee that it is called at all.
+ self.OnRangeText(None)
finally:
ThubanEndBusyCursor()
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)