editors/CodeFileEditor.py
changeset 3932 62d04933d569
parent 3795 223a91584172
equal deleted inserted replaced
3931:1c0263e2b3b1 3932:62d04933d569
   690             button.SetToolTip(help)
   690             button.SetToolTip(help)
   691             setattr(self, name, button)
   691             setattr(self, name, button)
   692             controls_sizer.Add(button, border=5, flag=wx.BOTTOM)
   692             controls_sizer.Add(button, border=5, flag=wx.BOTTOM)
   693 
   693 
   694         self.VariablesGrid = CustomGrid(self, style=wx.VSCROLL)
   694         self.VariablesGrid = CustomGrid(self, style=wx.VSCROLL)
   695         self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGING, self.OnVariablesGridCellChange)
   695         self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGED, self.OnVariablesGridCellChange)
   696         self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_LEFT_CLICK, self.OnVariablesGridCellLeftClick)
   696         self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_LEFT_CLICK, self.OnVariablesGridCellLeftClick)
   697         self.VariablesGrid.Bind(wx.grid.EVT_GRID_EDITOR_SHOWN, self.OnVariablesGridEditorShown)
   697         self.VariablesGrid.Bind(wx.grid.EVT_GRID_EDITOR_SHOWN, self.OnVariablesGridEditorShown)
   698         main_sizer.Add(self.VariablesGrid, flag=wx.GROW)
   698         main_sizer.Add(self.VariablesGrid, flag=wx.GROW)
   699 
   699 
   700         self.SetSizer(main_sizer)
   700         self.SetSizer(main_sizer)