LPCBeremiz.py
changeset 549 5dd92bd6e6e5
parent 547 5748d695beee
child 550 b03f586547c9
equal deleted inserted replaced
548:1428fd553988 549:5dd92bd6e6e5
   794         event.Skip()
   794         event.Skip()
   795 
   795 
   796 #-------------------------------------------------------------------------------
   796 #-------------------------------------------------------------------------------
   797 #                              LPCBeremiz Class
   797 #                              LPCBeremiz Class
   798 #-------------------------------------------------------------------------------
   798 #-------------------------------------------------------------------------------
       
   799 lpcberemiz_cmd=None
   799 
   800 
   800 class LPCBeremiz(Beremiz):
   801 class LPCBeremiz(Beremiz):
   801     
   802     
   802     def _init_coll_FileMenu_Items(self, parent):
   803     def _init_coll_FileMenu_Items(self, parent):
   803         AppendMenu(parent, help='', id=wx.ID_SAVE,
   804         AppendMenu(parent, help='', id=wx.ID_SAVE,
  1392             else:
  1393             else:
  1393                 return res
  1394                 return res
  1394         return CmdFunction
  1395         return CmdFunction
  1395 
  1396 
  1396     def CmdThreadProc(PluginRoot, Log):
  1397     def CmdThreadProc(PluginRoot, Log):
       
  1398         global lpcberemiz_cmd
  1397         for function, (arg_types, opt) in {"Exit": ([], 0),
  1399         for function, (arg_types, opt) in {"Exit": ([], 0),
  1398                                            "Show": ([], 0),
  1400                                            "Show": ([], 0),
  1399                                            "Refresh": ([], 0),
  1401                                            "Refresh": ([], 0),
  1400                                            "Close": ([], 0),
  1402                                            "Close": ([], 0),
  1401                                            "Compile": ([], 0),
  1403                                            "Compile": ([], 0),