a little more tweaking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -85,7 +85,7 @@ class TestValueWindow(gizmos.TreeCompanionWindow):
 | 
			
		||||
 | 
			
		||||
class TestPanel(wx.Panel):
 | 
			
		||||
    def __init__(self, parent, log):
 | 
			
		||||
        wx.Panel.__init__(self, parent, -1)
 | 
			
		||||
        wx.Panel.__init__(self, parent, -1, size=(640,480))
 | 
			
		||||
        self.log = log
 | 
			
		||||
 | 
			
		||||
        scroller = gizmos.SplitterScrolledWindow(
 | 
			
		||||
@@ -114,9 +114,8 @@ class TestPanel(wx.Panel):
 | 
			
		||||
 | 
			
		||||
        sizer = wx.BoxSizer(wx.VERTICAL)
 | 
			
		||||
        sizer.Add(scroller, 1, wx.EXPAND|wx.ALL, 25)
 | 
			
		||||
        self.SetAutoLayout(True)
 | 
			
		||||
        self.SetSizer(sizer)
 | 
			
		||||
 | 
			
		||||
        self.Layout()
 | 
			
		||||
 | 
			
		||||
#----------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user