Use correct method name for GetRowLabelValue

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2003-12-30 22:07:08 +00:00
parent 74e96f3d21
commit e6132c30ab

View File

@ -38,8 +38,8 @@ class MegaTable(Grid.PyGridTableBase):
def GetColLabelValue(self, col):
return self.colnames[col]
def GetRowLabelValues(self, row):
return self.data[row][0]
def GetRowLabelValue(self, row):
return "row %03d" % int(self.data[row][0])
def GetValue(self, row, col):
return str(self.data[row][1].get(self.GetColLabelValue(col), ""))