import wx
"""this does not open menu on ubuntu 16.04 and python3.5.2 with the new phonix wxpython 4. does open frame though"""

class window(wx.Frame):
    def __init__(self,parent=None,id=-1,name='frame',size=(500,400)):
        wx.Frame.__init__(self,parent,id,name,size)
        panel=wx.Panel(self)
        
        status=self.CreateStatusBar()
        
        menubar=wx.MenuBar()
        
        menu=wx.Menu()
        
        menuitem=wx.MenuItem(menu,-1,"quit","Click to exit")
        
        menubar.Append(menu,"File")
        menu.Append(menuitem)
        
        self.SetMenuBar(menubar)

    
if __name__=='__main__':
   app=wx.App()
   frame=window()
   frame.Show()
   app.MainLoop()
