]> git.saurik.com Git - wxWidgets.git/commitdiff
Use correct method name for GetRowLabelValue
authorRobin Dunn <robin@alldunn.com>
Tue, 30 Dec 2003 22:07:08 +0000 (22:07 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 30 Dec 2003 22:07:08 +0000 (22:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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), ""))