X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ddba849c383b8a610ca0b3fd4df5ca8e64ca7242..e81b607b4322af54190484aa7ee34112337a344e:/wxPython/demo/MediaCtrl.py?ds=sidebyside diff --git a/wxPython/demo/MediaCtrl.py b/wxPython/demo/MediaCtrl.py index 9fd988fc58..51f51ac4b2 100644 --- a/wxPython/demo/MediaCtrl.py +++ b/wxPython/demo/MediaCtrl.py @@ -108,6 +108,8 @@ class TestPanel(wx.Panel): "ERROR", wx.ICON_ERROR | wx.OK) else: + self.mc.SetBestFittingSize() + self.GetSizer().Layout() self.slider.SetRange(0, self.mc.Length()) def OnPause(self, evt):