X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1583600031e1737cd11ed2b40e31aad1b610a876..05e0b047d879cdbfade7f2ab346c0acdf3e29f96:/samples/mediaplayer/mediaplayer.cpp diff --git a/samples/mediaplayer/mediaplayer.cpp b/samples/mediaplayer/mediaplayer.cpp index aeba330fc5..873a638516 100644 --- a/samples/mediaplayer/mediaplayer.cpp +++ b/samples/mediaplayer/mediaplayer.cpp @@ -1534,7 +1534,6 @@ wxMediaPlayerNotebookPage::wxMediaPlayerNotebookPage(wxMediaPlayerFrame* parentF // wxFlexGridSizer* sizer = new wxFlexGridSizer(2, 1, 0, 0); this->SetSizer(sizer); - this->SetAutoLayout(true); sizer->AddGrowableRow(0); sizer->AddGrowableCol(0); @@ -1644,6 +1643,7 @@ wxMediaPlayerNotebookPage::wxMediaPlayerNotebookPage(wxMediaPlayerFrame* parentF m_gauge->Create(this, wxID_GAUGE, 0, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL | wxGA_SMOOTH); sizer->Add(m_gauge, 0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND , 5); + // // Create the speed/volume sliders