From e6132c30ab0846ecf8fefba0f96717fdc1e74d54 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 30 Dec 2003 22:07:08 +0000 Subject: [PATCH] Use correct method name for GetRowLabelValue git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/wxGrid_MegaExample.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wxPython/demo/wxGrid_MegaExample.py b/wxPython/demo/wxGrid_MegaExample.py index 335db3f5a8..751e7ab291 100644 --- a/wxPython/demo/wxGrid_MegaExample.py +++ b/wxPython/demo/wxGrid_MegaExample.py @@ -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), ""))