Minor cleanup in mainFrame.py (also use a dynamic generated ID for widgets inspector menu item

This commit is contained in:
HomeWorld
2011-06-07 19:03:57 +03:00
parent ecc0e06afa
commit ea1d5a48bb
2 changed files with 22 additions and 9 deletions

View File

@@ -95,7 +95,7 @@ class MainMenuBar(wx.MenuBar):
helpMenu.Append(wx.ID_ABOUT)
if config.debug:
helpMenu.Append(911,"Open Widgets Inspect tool", "Open Widgets Inspect tool")
helpMenu.Append( self.mainFrame.widgetInspectMenuID, "Open Widgets Inspect tool", "Open Widgets Inspect tool")