editors/CodeFileEditor.py
changeset 1699 65ce8afe4b8f
parent 1658 ba6a6d6e989c
child 1704 794a47ef5323
equal deleted inserted replaced
1698:ae3e819252fc 1699:65ce8afe4b8f
   605     def GetValue(self, row, col):
   605     def GetValue(self, row, col):
   606         if row < self.GetNumberRows():
   606         if row < self.GetNumberRows():
   607             if col == 0:
   607             if col == 0:
   608                 return row + 1
   608                 return row + 1
   609             else:
   609             else:
   610                 return str(self.data[row].get(self.GetColLabelValue(col, False), ""))
   610                 return unicode(self.data[row].get(self.GetColLabelValue(col, False), ""))
   611 
   611 
   612     def _updateColAttrs(self, grid):
   612     def _updateColAttrs(self, grid):
   613         """
   613         """
   614         wxGrid -> update the column attributes to add the
   614         wxGrid -> update the column attributes to add the
   615         appropriate renderer given the column name.
   615         appropriate renderer given the column name.