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