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