]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ScrolledPanel.py
Corrected _setCallbackInfo code so GiveFeedback can work
[wxWidgets.git] / wxPython / demo / ScrolledPanel.py
index 448d88b4e0702618992f2608a115ce232ed5bc11..a22c3dc9f2c6997904fd5a01849d34a82e3ac906 100644 (file)
@@ -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()