X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..864a91c827740da5e8a3e1f36feaf396d34dedc0:/wxPython/demo/ScrolledPanel.py?ds=sidebyside diff --git a/wxPython/demo/ScrolledPanel.py b/wxPython/demo/ScrolledPanel.py index cab8cc8eb2..a22c3dc9f2 100644 --- a/wxPython/demo/ScrolledPanel.py +++ b/wxPython/demo/ScrolledPanel.py @@ -84,7 +84,7 @@ class TestPanel(scrolled.ScrolledPanel): vbox2.Add((20, 10)) hbox.Add(vbox2) - vbox.AddSizer(hbox, 0) + vbox.Add(hbox, 0) self.SetSizer(vbox) self.SetAutoLayout(1) self.SetupScrolling() @@ -112,4 +112,4 @@ mangement that wx.ScrolledWindow lacks. if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])