#---------------------------------------------------------------------------
-class SimpleGrid(wxGrid, wxGridAutoEditMixin):
+class SimpleGrid(wxGrid): ##, wxGridAutoEditMixin):
def __init__(self, parent, log):
wxGrid.__init__(self, parent, -1)
- wxGridAutoEditMixin.__init__(self)
+ ##wxGridAutoEditMixin.__init__(self)
self.log = log
self.moveTo = None
EVT_IDLE(self, self.OnIdle)
self.CreateGrid(25, 25)
+ ##self.EnableEditing(false)
# simple cell formatting
self.SetColSize(3, 200)
EVT_GRID_EDITOR_CREATED(self, self.OnEditorCreated)
+
def OnCellLeftClick(self, evt):
self.log.write("OnCellLeftClick: (%d,%d) %s\n" %
(evt.GetRow(), evt.GetCol(), evt.GetPosition()))