Remove call to wxSizer::CalcMin and wxSizer::RecalcSizes

As they are used internally by Layout and should not be called
directly.
This commit is contained in:
wangqr 2019-06-06 15:24:40 -04:00
parent 8f40ca44ce
commit 592250eeaa

View file

@ -240,8 +240,6 @@ void FrameMain::SetDisplayMode(int video, int audio) {
TopSizer->Show(videoBox, showVideo, true);
ToolsSizer->Show(audioBox, showAudio, true);
MainSizer->CalcMin();
MainSizer->RecalcSizes();
MainSizer->Layout();
Layout();