]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Treebook.py
remove duplicate m_popupInterface (patch 1509424)
[wxWidgets.git] / wxPython / demo / Treebook.py
index d69d41d5e58cbf16cf8106ffbb40e3f6551b1f34..509e3548df61a1974f39d6caf5e853beeaeb0155 100644 (file)
@@ -66,6 +66,7 @@ class TestTB(wx.Treebook):
         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