From aec587c2f2ddb0fcd08640bc412d3176ba8c2474 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 4 Apr 2005 22:52:29 +0000 Subject: [PATCH] Move comment to where it can be a true statement ;-) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/GridHugeTable.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wxPython/demo/GridHugeTable.py b/wxPython/demo/GridHugeTable.py index e0fe1e415f..cd5d2e258e 100644 --- a/wxPython/demo/GridHugeTable.py +++ b/wxPython/demo/GridHugeTable.py @@ -6,13 +6,6 @@ import wx.grid as gridlib class HugeTable(gridlib.PyGridTableBase): - """ - This is all it takes to make a custom data table to plug into a - wxGrid. There are many more methods that can be overridden, but - the ones shown below are the required ones. This table simply - provides strings containing the row and column values. - """ - def __init__(self, log): gridlib.PyGridTableBase.__init__(self) self.log = log @@ -27,6 +20,13 @@ class HugeTable(gridlib.PyGridTableBase): attr.IncRef() return attr + + + # This is all it takes to make a custom data table to plug into a + # wxGrid. There are many more methods that can be overridden, but + # the ones shown below are the required ones. This table simply + # provides strings containing the row and column values. + def GetNumberRows(self): return 10000 -- 2.45.2