PLCOpenEditor.py
changeset 474 a07115f79c27
parent 473 9ee851841d28
child 478 dc403c47af54
--- a/PLCOpenEditor.py	Mon Dec 07 20:42:55 2009 +0100
+++ b/PLCOpenEditor.py	Mon Dec 07 21:26:36 2009 +0100
@@ -3972,9 +3972,9 @@
             for col in range(self.GetNumberCols()):
                 if self.GetColLabelValue(col, False) == "Value":
                     if self.IsForced(row):
-                        grid.SetCellTextColour(wx.RED, row, col)
+                        grid.SetCellTextColour(row, col, wx.RED)
                     else:
-                        grid.SetCellTextColour(wx.BLACK, row, col)
+                        grid.SetCellTextColour(row, col, wx.BLACK)
                 grid.SetReadOnly(row, col, True)
                 
     def SetData(self, data):