equal
deleted
inserted
replaced
3970 |
3970 |
3971 for row in range(self.GetNumberRows()): |
3971 for row in range(self.GetNumberRows()): |
3972 for col in range(self.GetNumberCols()): |
3972 for col in range(self.GetNumberCols()): |
3973 if self.GetColLabelValue(col, False) == "Value": |
3973 if self.GetColLabelValue(col, False) == "Value": |
3974 if self.IsForced(row): |
3974 if self.IsForced(row): |
3975 grid.SetCellTextColour(wx.RED, row, col) |
3975 grid.SetCellTextColour(row, col, wx.RED) |
3976 else: |
3976 else: |
3977 grid.SetCellTextColour(wx.BLACK, row, col) |
3977 grid.SetCellTextColour(row, col, wx.BLACK) |
3978 grid.SetReadOnly(row, col, True) |
3978 grid.SetReadOnly(row, col, True) |
3979 |
3979 |
3980 def SetData(self, data): |
3980 def SetData(self, data): |
3981 self.data = data |
3981 self.data = data |
3982 |
3982 |