projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change GetC to return an int so that it can return wxEOF on error.
[wxWidgets.git]
/
wxPython
/
demo
/
MediaCtrl.py
diff --git
a/wxPython/demo/MediaCtrl.py
b/wxPython/demo/MediaCtrl.py
index 9fd988fc5888cd3a3db394d120db115626a00309..51f51ac4b285920fc611076f525d0d84d6d86f81 100644
(file)
--- 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):