]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/GridHugeTable.py
Use Bind
[wxWidgets.git] / wxPython / demo / GridHugeTable.py
index 5e8bf5eb0db3efa84dd59aed01df4444bf148dcf..e0fe1e415f222e41f8d61663cfd60f6a9f7ae2e8 100644 (file)
@@ -1,7 +1,3 @@
-# 11/6/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-#
 
 import  wx
 import  wx.grid as  gridlib
@@ -21,9 +17,9 @@ class HugeTable(gridlib.PyGridTableBase):
         gridlib.PyGridTableBase.__init__(self)
         self.log = log
 
-        self.odd=wxGridCellAttr()
+        self.odd=gridlib.GridCellAttr()
         self.odd.SetBackgroundColour("sky blue")
-        self.even=wxGridCellAttr()
+        self.even=gridlib.GridCellAttr()
         self.even.SetBackgroundColour("sea green")
 
     def GetAttr(self, row, col, kind):