Commit 99d67fe7 authored by Terry Jan Reedy's avatar Terry Jan Reedy

Issue #22053: Make help work, after previous patch for this issue disabled it

by removing global 'demo'. Simple fix because 2.7/3.4 fix cannot merge.
parent 39533983
......@@ -121,7 +121,7 @@ class DemoWindow(object):
self.mBar = Frame(root, relief=RAISED, borderwidth=2)
self.ExamplesBtn = self.makeLoadDemoMenu()
self.OptionsBtn = self.makeHelpMenu()
self.mBar.tk_menuBar(self.ExamplesBtn, self.OptionsBtn)
#self.mBar.tk_menuBar(self.ExamplesBtn, self.OptionsBtn)
self.mBar.grid(row=0, columnspan=4, sticky='news')
pane = PanedWindow(orient=HORIZONTAL, sashwidth=5,
......@@ -321,6 +321,7 @@ class DemoWindow(object):
def main():
global demo
demo = DemoWindow()
demo.root.mainloop()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment