mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-111092: Make turtledemo run without default root enabled (#111093)
Add missing 'root' argument to PanedWindow call. Other root children already have it.
This commit is contained in:
parent
8d234cd315
commit
b802882fb2
2 changed files with 2 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ class DemoWindow(object):
|
||||||
label='Help', underline=0)
|
label='Help', underline=0)
|
||||||
root['menu'] = self.mBar
|
root['menu'] = self.mBar
|
||||||
|
|
||||||
pane = PanedWindow(orient=HORIZONTAL, sashwidth=5,
|
pane = PanedWindow(root, orient=HORIZONTAL, sashwidth=5,
|
||||||
sashrelief=SOLID, bg='#ddd')
|
sashrelief=SOLID, bg='#ddd')
|
||||||
pane.add(self.makeTextFrame(pane))
|
pane.add(self.makeTextFrame(pane))
|
||||||
pane.add(self.makeGraphFrame(pane))
|
pane.add(self.makeGraphFrame(pane))
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Make turtledemo run without default root enabled.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue