Added Close item to File menu to close current fit

We should remove the silly MMB support now that File->Close is in place (also, that gives us Ctrl/Cmd-W support "for free")
This commit is contained in:
Lucas Thode
2010-10-25 02:45:47 -05:00
parent c3f9398bd6
commit e83f5cac7c
2 changed files with 9 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ class MainMenuBar(wx.MenuBar):
# File menu
fileMenu = wx.Menu()
self.Append(fileMenu, "&File")
fileMenu.Append(wx.ID_CLOSE)
fileMenu.Append(wx.ID_EXIT)