X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aabc8da32849c251b0ec87e339ef4485f35ebea..f5766910b6731eb03e82371416e9778203396ce7:/wxPython/demo/Toolbook.py?ds=sidebyside 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