wxWidgets/samples/mediaplayer
Vadim Zeitlin 4fcc6e15b0 Use all available size for the video in mediaplayer sample
wxMediaCtrl doesn't compute its best size correctly until a video is
available and this resulted in using the best size of (0, 0) for it and
nothing being shown at all on the screen, even after starting to play a
video.

This is almost certainly a problem on its own, as there is some existing
code for updating the best size and redoing the layout of the parent
sizer when a new video is loaded, but for now just make the control
visible in the sample again by always expanding it to fill up all the
available size, as this is the smallest possible fix and this is how it
used to behave before, until 9aaa38c7c8,
which allowed to meaningfully use wxALIGN_CENTER_HORIZONTAL and wxEXPAND
together: until then, this didn't work at all, but the sample still used
wxALIGN_CENTER_HORIZONTAL by mistake, so just remove it now to restore
the original behaviour.

Closes #17917.
2018-01-28 16:35:10 +01:00
..
descrip.mms
makefile.bcc Remove MSW wxUxThemeEngine class 2018-01-22 00:51:11 +01:00
makefile.gcc Remove MSW wxUxThemeEngine class 2018-01-22 00:51:11 +01:00
Makefile.in Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
makefile.unx Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
makefile.vc Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
mediaplayer_vc7.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
mediaplayer_vc8.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
mediaplayer_vc9.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
mediaplayer.bkl
mediaplayer.cpp Use all available size for the video in mediaplayer sample 2018-01-28 16:35:10 +01:00