X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/102e2b26c00f2361df4f57b834be26cd04a27240..864a91c827740da5e8a3e1f36feaf396d34dedc0:/wxPython/demo/IntCtrl.py diff --git a/wxPython/demo/IntCtrl.py b/wxPython/demo/IntCtrl.py index 8226d1848a..d80bedb418 100644 --- a/wxPython/demo/IntCtrl.py +++ b/wxPython/demo/IntCtrl.py @@ -28,10 +28,10 @@ class TestPanel( wx.Panel ): grid = wx.FlexGridSizer( 0, 2, 0, 0 ) grid.Add( self.set_min, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) - grid.Add( self.min, 0, wx.FIXED_SIZE|wx.ALIGN_LEFT|wx.ALL, 5 ) + grid.Add( self.min, 0, wx.ALIGN_LEFT|wx.ALL, 5 ) grid.Add(self.set_max, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) - grid.Add( self.max, 0, wx.FIXED_SIZE|wx.ALIGN_LEFT|wx.ALL, 5 ) + grid.Add( self.max, 0, wx.ALIGN_LEFT|wx.ALL, 5 ) grid.Add( self.limit_target, 0, wx.ALIGN_LEFT|wx.ALL, 5 ) grid.Add( (20, 0), 0, wx.ALIGN_LEFT|wx.ALL, 5 ) @@ -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 )