]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxGrid_MegaExample.py
reSWIGged
[wxWidgets.git] / wxPython / demo / wxGrid_MegaExample.py
index 335db3f5a8d3adf02263a0d7ddfce4d33e34df03..751e7ab2916fd2414ec5e1edbba21e18bae4c184 100644 (file)
@@ -38,8 +38,8 @@ class MegaTable(Grid.PyGridTableBase):
     def GetColLabelValue(self, col):
         return self.colnames[col]
 
     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), ""))
 
     def GetValue(self, row, col):
         return str(self.data[row][1].get(self.GetColLabelValue(col), ""))