# HG changeset patch # User laurent # Date 1326043363 -3600 # Node ID 8c4b57808f9c0b8aa274d28dc59bf498400a1fc8 # Parent c487c54c1cfecb72d8bc449b4e4e6214dd290396 Disabling drag for modifying grid row size diff -r c487c54c1cfe -r 8c4b57808f9c 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)