Beremiz.py
changeset 153 b352a2012691
parent 136 f49f586a0a43
child 176 d8cacbf276b5
equal deleted inserted replaced
152:9abf2ac9cb8e 153:b352a2012691
   305         self.SetMenuBar(self.MenuBar)
   305         self.SetMenuBar(self.MenuBar)
   306         self.Bind(wx.EVT_ACTIVATE, self.OnFrameActivated)
   306         self.Bind(wx.EVT_ACTIVATE, self.OnFrameActivated)
   307         self.Bind(wx.EVT_CLOSE, self.OnCloseFrame)
   307         self.Bind(wx.EVT_CLOSE, self.OnCloseFrame)
   308 
   308 
   309         self.Bind(wx.EVT_MENU, self.OnOpenWidgetInspector, id=ID_BEREMIZINSPECTOR)
   309         self.Bind(wx.EVT_MENU, self.OnOpenWidgetInspector, id=ID_BEREMIZINSPECTOR)
   310         accel = wx.AcceleratorTable([wx.AcceleratorEntry(wx.ACCEL_CTRL, wx.WXK_F12, ID_BEREMIZINSPECTOR)])
   310         accel = wx.AcceleratorTable([wx.AcceleratorEntry(wx.ACCEL_SHIFT, wx.WXK_HOME, ID_BEREMIZINSPECTOR)])
   311         self.SetAcceleratorTable(accel)
   311         self.SetAcceleratorTable(accel)
   312 
   312 
   313 
   313 
   314         
   314         
   315         if wx.VERSION < (2, 8, 0):
   315         if wx.VERSION < (2, 8, 0):