forked from mia/Aegisub
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:
parent
8f40ca44ce
commit
592250eeaa
1 changed files with 0 additions and 2 deletions
|
@ -240,8 +240,6 @@ void FrameMain::SetDisplayMode(int video, int audio) {
|
||||||
TopSizer->Show(videoBox, showVideo, true);
|
TopSizer->Show(videoBox, showVideo, true);
|
||||||
ToolsSizer->Show(audioBox, showAudio, true);
|
ToolsSizer->Show(audioBox, showAudio, true);
|
||||||
|
|
||||||
MainSizer->CalcMin();
|
|
||||||
MainSizer->RecalcSizes();
|
|
||||||
MainSizer->Layout();
|
MainSizer->Layout();
|
||||||
Layout();
|
Layout();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue