BeremizIDE.py
branchsvghmi
changeset 3246 0e8dbc2c390e
parent 2735 732d112dd902
child 2740 610801fe1b88
--- a/BeremizIDE.py	Thu May 20 12:16:51 2021 +0200
+++ b/BeremizIDE.py	Mon May 24 14:33:54 2021 +0200
@@ -81,7 +81,6 @@
     LIBRARYTREE,\
     PAGETITLES,\
     IDEFrame, \
-    AppendMenu,\
     EncodeFileSystemPath, \
     DecodeFileSystemPath
 
@@ -92,6 +91,8 @@
 def Bpath(*args):
     return os.path.join(beremiz_dir, *args)
 
+def AppendMenu(parent, help, id, kind, text):
+    return parent.Append(help=help, id=id, kind=kind, text=text)
 
 MAX_RECENT_PROJECTS = 9