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