equal
deleted
inserted
replaced
491 setattr(self, name, button) |
491 setattr(self, name, button) |
492 controls_sizer.Add(button) |
492 controls_sizer.Add(button) |
493 |
493 |
494 self.VariablesGrid = CustomGrid(self, style=wx.VSCROLL | wx.HSCROLL) |
494 self.VariablesGrid = CustomGrid(self, style=wx.VSCROLL | wx.HSCROLL) |
495 self.VariablesGrid.SetDropTarget(VariableDropTarget(self)) |
495 self.VariablesGrid.SetDropTarget(VariableDropTarget(self)) |
496 self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGING, |
496 self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGED, |
497 self.OnVariablesGridCellChange) |
497 self.OnVariablesGridCellChange) |
498 self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_LEFT_CLICK, |
498 self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_LEFT_CLICK, |
499 self.OnVariablesGridCellLeftClick) |
499 self.OnVariablesGridCellLeftClick) |
500 self.VariablesGrid.Bind(wx.grid.EVT_GRID_EDITOR_SHOWN, |
500 self.VariablesGrid.Bind(wx.grid.EVT_GRID_EDITOR_SHOWN, |
501 self.OnVariablesGridEditorShown) |
501 self.OnVariablesGridEditorShown) |