LPCManager.py
changeset 59 bdea62c1f32f
parent 58 96741ddb78c0
--- a/LPCManager.py	Thu Feb 27 23:50:45 2014 +0100
+++ b/LPCManager.py	Wed Mar 26 13:15:50 2014 +0100
@@ -417,7 +417,7 @@
         module.write(BUS_TEXT % code_str)
         module.close()
         
-        matiec_flags = '"-I%s"'%os.path.abspath(self.GetCTRoot().GetIECLibPath())
+        matiec_flags = '"-I%s" -Wno-unused-function'%os.path.abspath(self.GetCTRoot().GetIECLibPath())
         return [(Gen_Module_path, matiec_flags)],"",True
 
 #-------------------------------------------------------------------------------
@@ -1235,10 +1235,6 @@
     
     def _init_coll_AddMenu_Items(self, parent):
         IDEFrame._init_coll_AddMenu_Items(self, parent, False)
-        new_id = wx.NewId()
-        AppendMenu(parent, help='', id=new_id,
-                  kind=wx.ITEM_NORMAL, text=_(u'&Resource'))
-        self.Bind(wx.EVT_MENU, self.AddResourceMenu, id=new_id)
     
     def _init_ctrls(self, prnt):
         Beremiz._init_ctrls(self, prnt)