From 3d668dd2ec038121d504c37c6dbc680671ae6f3a 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/branches/WX_2_4_BRANCH@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 17007e58ec..028e96b4b3 100644 --- a/wxPython/demo/wxGrid_MegaExample.py +++ b/wxPython/demo/wxGrid_MegaExample.py @@ -32,8 +32,8 @@ class MegaTable(wxPyGridTableBase): 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), ""))