mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
[3.12] gh-111092: Make turtledemo run without default root enabled (GH-111093) (#111095)
gh-111092: Make turtledemo run without default root enabled (GH-111093)
Add missing 'root' argument to PanedWindow call.
Other root children already have it.
(cherry picked from commit b802882fb2
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
41dfae8f86
commit
42fd44ac97
2 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,7 @@ class DemoWindow(object):
|
|||
label='Help', underline=0)
|
||||
root['menu'] = self.mBar
|
||||
|
||||
pane = PanedWindow(orient=HORIZONTAL, sashwidth=5,
|
||||
pane = PanedWindow(root, orient=HORIZONTAL, sashwidth=5,
|
||||
sashrelief=SOLID, bg='#ddd')
|
||||
pane.add(self.makeTextFrame(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