dialogs/ActionBlockDialog.py
changeset 606 d65122c61eaf
parent 604 5b42b4401e6b
child 714 131ea7f237b9
equal deleted inserted replaced
605:279c16d017f3 606:d65122c61eaf
   169               pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0)
   169               pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0)
   170 
   170 
   171         self.ActionsGrid = CustomGrid(id=ID_ACTIONBLOCKDIALOGVARIABLESGRID,
   171         self.ActionsGrid = CustomGrid(id=ID_ACTIONBLOCKDIALOGVARIABLESGRID,
   172               name='ActionsGrid', parent=self, pos=wx.Point(0, 0), 
   172               name='ActionsGrid', parent=self, pos=wx.Point(0, 0), 
   173               size=wx.Size(0, 0), style=wx.VSCROLL)
   173               size=wx.Size(0, 0), style=wx.VSCROLL)
   174         self.ActionsGrid.SetFont(wx.Font(12, 77, wx.NORMAL, wx.NORMAL, False,
       
   175               'Sans'))
       
   176         self.ActionsGrid.SetLabelFont(wx.Font(10, 77, wx.NORMAL, wx.NORMAL,
       
   177               False, 'Sans'))
       
   178         self.ActionsGrid.DisableDragGridSize()
   174         self.ActionsGrid.DisableDragGridSize()
   179         self.ActionsGrid.EnableScrolling(False, True)
   175         self.ActionsGrid.EnableScrolling(False, True)
   180         if wx.VERSION >= (2, 6, 0):
   176         if wx.VERSION >= (2, 6, 0):
   181             self.ActionsGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGE, self.OnActionsGridCellChange)
   177             self.ActionsGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGE, self.OnActionsGridCellChange)
   182         else:
   178         else: