Disabling drag for modifying grid row size
authorlaurent
Sun, 08 Jan 2012 18:22:43 +0100
changeset 614 8c4b57808f9c
parent 613 c487c54c1cfe
child 615 8baeb9dff775
Disabling drag for modifying grid row size
controls/CustomGrid.py
--- a/controls/CustomGrid.py	Wed Dec 21 19:41:29 2011 +0100
+++ b/controls/CustomGrid.py	Sun Jan 08 18:22:43 2012 +0100
@@ -48,6 +48,7 @@
         self.SetLabelFont(wx.Font(10, 77, wx.NORMAL, wx.NORMAL, False, 'Sans'))
         self.SetSelectionBackground(wx.WHITE)
         self.SetSelectionForeground(wx.BLACK)
+        self.DisableDragRowSize()
         
         if wx.VERSION >= (2, 6, 0):
             self.Bind(wx.grid.EVT_GRID_SELECT_CELL, self.OnSelectCell)