]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/GridSimple.py
warning fix
[wxWidgets.git] / wxPython / demo / GridSimple.py
index 156839a6a666eac69403b01743c870caa1ace7cb..e289ee0f55028ac904272814a504b7412d92cd95 100644 (file)
@@ -14,7 +14,7 @@ class SimpleGrid(gridlib.Grid): ##, mixins.GridAutoEditMixin):
 
         self.Bind(wx.EVT_IDLE, self.OnIdle)
 
-        self.CreateGrid(25, 25) #, wxGrid.wxGridSelectRows)
+        self.CreateGrid(25, 25)#, gridlib.Grid.SelectRows)
         ##self.EnableEditing(False)
 
         # simple cell formatting
@@ -57,7 +57,7 @@ class SimpleGrid(gridlib.Grid): ##, mixins.GridAutoEditMixin):
         self.SetColLabelAlignment(wx.ALIGN_LEFT, wx.ALIGN_BOTTOM)
 
         #self.SetDefaultCellOverflow(False)
-        #r = wxGridCellAutoWrapStringRenderer()
+        #r = gridlib.GridCellAutoWrapStringRenderer()
         #self.SetCellRenderer(9, 1, r)
 
         # overflow cells