- # test all the events
- EVT_GRID_CELL_LEFT_CLICK(self, self.OnCellLeftClick)
- EVT_GRID_CELL_RIGHT_CLICK(self, self.OnCellRightClick)
- EVT_GRID_CELL_LEFT_DCLICK(self, self.OnCellLeftDClick)
- EVT_GRID_CELL_RIGHT_DCLICK(self, self.OnCellRightDClick)
+ #self.SetDefaultCellOverflow(False)
+ #r = wxGridCellAutoWrapStringRenderer()
+ #self.SetCellRenderer(9, 1, r)
+
+ # overflow cells
+ self.SetCellValue( 9, 1, "This default cell will overflow into neighboring cells, but not if you turn overflow off.");
+ self.SetCellSize(11, 1, 3, 3);
+ self.SetCellAlignment(11, 1, wx.ALIGN_CENTRE, wx.ALIGN_CENTRE);
+ self.SetCellValue(11, 1, "This cell is set to span 3 rows and 3 columns");