X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aabc8da32849c251b0ec87e339ef4485f35ebea..b4eecebd423df0c6efe86d7658cd3df818d67ed8:/wxPython/demo/Listbook.py diff --git a/wxPython/demo/Listbook.py b/wxPython/demo/Listbook.py index 7c92d02bd3..56617a0e79 100644 --- a/wxPython/demo/Listbook.py +++ b/wxPython/demo/Listbook.py @@ -54,6 +54,7 @@ class TestLB(wx.Listbook): 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