diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-09-28 18:29:28 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-09-28 18:29:28 (GMT) |
commit | ddfb6cdc2b1cc30bc3d530c5c1d8926d016081ef (patch) | |
tree | 4fa8a748fa9a03dc8f669268555574dbbc1774f2 /Demo/turtle | |
parent | 97f5ff37ffa259cbb8fa418be04b03eac0531251 (diff) | |
download | cpython-ddfb6cdc2b1cc30bc3d530c5c1d8926d016081ef.zip cpython-ddfb6cdc2b1cc30bc3d530c5c1d8926d016081ef.tar.gz cpython-ddfb6cdc2b1cc30bc3d530c5c1d8926d016081ef.tar.bz2 |
Applying patches backported from 3.1, by Gregor Lingl.
Diffstat (limited to 'Demo/turtle')
-rw-r--r-- | Demo/turtle/turtleDemo.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Demo/turtle/turtleDemo.py b/Demo/turtle/turtleDemo.py index 5e744ef..38a44e0 100644 --- a/Demo/turtle/turtleDemo.py +++ b/Demo/turtle/turtleDemo.py @@ -98,6 +98,7 @@ class DemoWindow(object): turtle._Screen._canvas = turtle.ScrolledCanvas(g_frame, 800, 600, 1000, 800) #xturtle.Screen._canvas.pack(expand=1, fill="both") self.screen = _s_ = turtle.Screen() + turtle.TurtleScreen.__init__(_s_, _s_._canvas) self.scanvas = _s_._canvas #xturtle.RawTurtle.canvases = [self.scanvas] turtle.RawTurtle.screens = [_s_] |