]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/MediaCtrl.py
Changes needed for new RTL methods, and also various other updates to
[wxWidgets.git] / wxPython / demo / MediaCtrl.py
index 9fd988fc5888cd3a3db394d120db115626a00309..51f51ac4b285920fc611076f525d0d84d6d86f81 100644 (file)
@@ -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):