]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/demo/wxGrid.py
1. Grid cell defaults are now handled by an internal
[wxWidgets.git] / utils / wxPython / demo / wxGrid.py
index e61e30ee054fba332fbbc3e7f8ee4ff5abc8f5f9..dca12c088fe5b94ccd5e94da1e05d978bbf98319 100644 (file)
@@ -40,6 +40,14 @@ class TestGrid(wxGrid):
 
     def OnLabelClick(self, event):
         self.log.WriteText("OnLabelClick: (%d, %d)\n" % (event.m_row, event.m_col))
 
     def OnLabelClick(self, event):
         self.log.WriteText("OnLabelClick: (%d, %d)\n" % (event.m_row, event.m_col))
+        #if event.m_row >= 10:
+        #    self.SetLabelValue(wxVERTICAL, 'XX', event.m_row)
+        #    self.Refresh()
+        #else:
+        #    size = self.GetLabelSize(wxVERTICAL)
+        #    print size
+        #    self.SetLabelSize(wxVERTICAL, size+10)
+        #    self.Refresh()
 
 #---------------------------------------------------------------------------
 
 
 #---------------------------------------------------------------------------