]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Listbook.py
Changes needed for new RTL methods, and also various other updates to
[wxWidgets.git] / wxPython / demo / Listbook.py
index 7c92d02bd31ec2d66ca2e8d3bd19cd9bb50eba23..56617a0e790b7917eaba905ab52a117d4c48fd85 100644 (file)
@@ -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