]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Toolbook.py
Add parent parameter to BusyInfo
[wxWidgets.git] / wxPython / demo / Toolbook.py
index 1dd87fc2694bce09a14cf82e3962ce256beba7c4..dde4cac8e00218162905de75d9147076cde7167b 100644 (file)
@@ -61,6 +61,7 @@ class TestTB(wx.Toolbook):
         win = ColorPanel.ColoredPanel(p, color)
         p.win = win
         def OnCPSize(evt, win=win):
         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
             win.SetSize(evt.GetSize())
         p.Bind(wx.EVT_SIZE, OnCPSize)
         return p