Basic (and ugly) setup for graphs

This commit is contained in:
cncfanatics
2010-11-08 13:50:37 +01:00
parent 4fb1d3f632
commit 346fa708bc
3 changed files with 51 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ class MainMenuBar(wx.MenuBar):
def __init__(self):
self.characterEditorId = wx.NewId()
self.damagePatternEditorId = wx.NewId()
self.graphFrameId = wx.NewId()
self.backupFitsId = wx.NewId()
self.mainFrame = gui.mainFrame.MainFrame.getInstance()
@@ -73,6 +74,9 @@ class MainMenuBar(wx.MenuBar):
damagePatternEditItem.SetBitmap(bitmapLoader.getBitmap("damagePattern_small", "icons"))
windowMenu.AppendItem(damagePatternEditItem)
graphFrameItem = wx.MenuItem(windowMenu, self.graphFrameId, "Graphs\tCTRL+G")
windowMenu.AppendItem(graphFrameItem)
#windowMenu.Append(wx.ID_PREFERENCES)
# Help menu