X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aabc8da32849c251b0ec87e339ef4485f35ebea..6a6e2822455ac3275dad20d5a0b474e4eb4b2582:/wxPython/demo/Toolbook.py diff --git a/wxPython/demo/Toolbook.py b/wxPython/demo/Toolbook.py index 1dd87fc269..dde4cac8e0 100644 --- a/wxPython/demo/Toolbook.py +++ b/wxPython/demo/Toolbook.py @@ -61,6 +61,7 @@ class TestTB(wx.Toolbook): win = ColorPanel.ColoredPanel(p, color) p.win = win def OnCPSize(evt, win=win): + win.SetPosition((0,0)) win.SetSize(evt.GetSize()) p.Bind(wx.EVT_SIZE, OnCPSize) return p