minor layout tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user