X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e19b9131cb2d7c0f5d05dc75889172de49f788d0..b39fc8d7b1b853cb15f39d51617214b7b90a8872:/wxPython/demo/AnimateCtrl.py diff --git a/wxPython/demo/AnimateCtrl.py b/wxPython/demo/AnimateCtrl.py index 789a430c99..276771ec59 100644 --- a/wxPython/demo/AnimateCtrl.py +++ b/wxPython/demo/AnimateCtrl.py @@ -25,10 +25,10 @@ class TestPanel(wx.Panel): ctrl = wx.animate.AnimationCtrl(self, -1, ani) ctrl.SetUseWindowBackgroundColour() ctrl.Play() - sizer.Add(ctrl, 0, wx.ALL, 10) + sizer.AddF(ctrl, wx.SizerFlags().Border(wx.ALL, 10)) border = wx.BoxSizer() - border.Add(sizer, 1, wx.EXPAND|wx.ALL, 20) + border.AddF(sizer, wx.SizerFlags(1).Expand().Border(wx.ALL, 20)) self.SetSizer(border) @@ -46,7 +46,7 @@ overview = """

wx.animate.AnimationCtrl

wx.animate.AnimationCtrl is like a wx.StaticBitmap but is able to -display an animation by extracing frames from a multi-images GIF file. +display an animation by extracing frames from a multi-image GIF file. """