1
0
Fork 0

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
1 changed files with 0 additions and 2 deletions

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();