]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/GridSimple.py
Second phase of OOR completed. (Original python object return for
[wxWidgets.git] / wxPython / demo / GridSimple.py
index 7a135bd9e34858644a3444dab7d74b526560eb70..2f26955502a065180300ee951a2a3c5eb2da3a68 100644 (file)
@@ -4,16 +4,17 @@ from wxPython.lib.mixins.grid import wxGridAutoEditMixin
 
 #---------------------------------------------------------------------------
 
-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)
@@ -71,6 +72,7 @@ class SimpleGrid(wxGrid, wxGridAutoEditMixin):
         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()))