X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aabc8da32849c251b0ec87e339ef4485f35ebea..88e183d7693c5272673d109b21e40e1bb525a386:/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