equal
deleted
inserted
replaced
146 top_sizer.Add(button) |
146 top_sizer.Add(button) |
147 |
147 |
148 self.ActionsGrid = CustomGrid(self, size=wx.Size(-1, 250), style=wx.VSCROLL) |
148 self.ActionsGrid = CustomGrid(self, size=wx.Size(-1, 250), style=wx.VSCROLL) |
149 self.ActionsGrid.DisableDragGridSize() |
149 self.ActionsGrid.DisableDragGridSize() |
150 self.ActionsGrid.EnableScrolling(False, True) |
150 self.ActionsGrid.EnableScrolling(False, True) |
151 self.ActionsGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGING, |
151 self.ActionsGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGED, |
152 self.OnActionsGridCellChange) |
152 self.OnActionsGridCellChange) |
153 main_sizer.Add(self.ActionsGrid, border=20, |
153 main_sizer.Add(self.ActionsGrid, border=20, |
154 flag=wx.GROW | wx.LEFT | wx.RIGHT) |
154 flag=wx.GROW | wx.LEFT | wx.RIGHT) |
155 |
155 |
156 button_sizer = self.CreateButtonSizer(wx.OK | wx.CANCEL | wx.CENTRE) |
156 button_sizer = self.CreateButtonSizer(wx.OK | wx.CANCEL | wx.CENTRE) |