--- a/DataTypeEditor.py Fri Jul 10 11:41:07 2009 +0200
+++ b/DataTypeEditor.py Thu Jul 23 17:50:26 2009 +0200
@@ -163,7 +163,7 @@
grid.SetCellEditor(row, col, editor)
grid.SetCellRenderer(row, col, renderer)
- if row in self.Errors and self.Errors[row][0] == colname.lower():
+ if self.Errors.has_key(row) and self.Errors[row][0] == colname.lower():
grid.SetCellBackgroundColour(row, col, wx.Colour(255, 255, 0))
grid.SetCellTextColour(row, col, wx.RED)
grid.MakeCellVisible(row, col)
@@ -204,7 +204,7 @@
self.Errors = {}
#-------------------------------------------------------------------------------
-# Configuration Editor class
+# Datatype Editor class
#-------------------------------------------------------------------------------
[ID_DATATYPEEDITOR, ID_DATATYPEEDITORSTATICBOX,