X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..c60122bf37a65f07f517e14a98ce988a3eae8305:/wxPython/demo/IntCtrl.py diff --git a/wxPython/demo/IntCtrl.py b/wxPython/demo/IntCtrl.py index 16b5610eb5..d80bedb418 100644 --- a/wxPython/demo/IntCtrl.py +++ b/wxPython/demo/IntCtrl.py @@ -47,7 +47,7 @@ class TestPanel( wx.Panel ): grid.Add( self.target_ctl, 0, wx.ALIGN_LEFT|wx.ALL, 5 ) outer_box = wx.BoxSizer( wx.VERTICAL ) - outer_box.AddSizer( grid, 0, wx.ALIGN_CENTRE|wx.ALL, 20 ) + outer_box.Add( grid, 0, wx.ALIGN_CENTRE|wx.ALL, 20 ) panel.SetAutoLayout( True ) panel.SetSizer( outer_box )