]> git.saurik.com Git - wxWidgets.git/commitdiff
a little more tweaking
authorRobin Dunn <robin@alldunn.com>
Fri, 22 Apr 2005 23:30:03 +0000 (23:30 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 22 Apr 2005 23:30:03 +0000 (23:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/SplitTree.py

index 0f7b4da9e4db647624a6ef6e0242c4557ef3144a..07884d944545612a9097f3730d1b14f4dd1eca24 100644 (file)
@@ -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()
 
 #----------------------------------------------------------------------