BeremizIDE.py
changeset 2737 38afed869ff6
parent 2735 732d112dd902
child 2740 610801fe1b88
equal deleted inserted replaced
2736:a81b72ef156c 2737:38afed869ff6
    79     PROJECTTREE,\
    79     PROJECTTREE,\
    80     POUINSTANCEVARIABLESPANEL,\
    80     POUINSTANCEVARIABLESPANEL,\
    81     LIBRARYTREE,\
    81     LIBRARYTREE,\
    82     PAGETITLES,\
    82     PAGETITLES,\
    83     IDEFrame, \
    83     IDEFrame, \
    84     AppendMenu,\
       
    85     EncodeFileSystemPath, \
    84     EncodeFileSystemPath, \
    86     DecodeFileSystemPath
    85     DecodeFileSystemPath
    87 
    86 
    88 
    87 
    89 beremiz_dir = paths.AbsDir(__file__)
    88 beremiz_dir = paths.AbsDir(__file__)
    90 
    89 
    91 
    90 
    92 def Bpath(*args):
    91 def Bpath(*args):
    93     return os.path.join(beremiz_dir, *args)
    92     return os.path.join(beremiz_dir, *args)
    94 
    93 
       
    94 def AppendMenu(parent, help, id, kind, text):
       
    95     return parent.Append(help=help, id=id, kind=kind, text=text)
    95 
    96 
    96 MAX_RECENT_PROJECTS = 9
    97 MAX_RECENT_PROJECTS = 9
    97 
    98 
    98 
    99 
    99 if wx.Platform == '__WXMSW__':
   100 if wx.Platform == '__WXMSW__':