From e2ea5598fca228f184921fbc135000f30807a851 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 30 Sep 2011 20:42:55 +0000 Subject: [PATCH] Remove a pointless sizer around the video box Originally committed to SVN as r5699. --- aegisub/src/frame_main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/aegisub/src/frame_main.cpp b/aegisub/src/frame_main.cpp index 5577661e8..a963b4df1 100644 --- a/aegisub/src/frame_main.cpp +++ b/aegisub/src/frame_main.cpp @@ -245,9 +245,6 @@ void FrameMain::InitContents() { StartupLog("Create video box"); context->videoBox = videoBox = new VideoBox(Panel, false, context.get()); - wxBoxSizer *videoSizer = new wxBoxSizer(wxVERTICAL); - videoSizer->Add(videoBox , 0, wxEXPAND); - videoSizer->AddStretchSpacer(1); StartupLog("Create subtitles grid"); context->subsGrid = SubsGrid = new SubtitlesGrid(Panel,context.get(),wxSize(600,100),wxWANTS_CHARS | wxSUNKEN_BORDER,"Subs grid"); @@ -266,7 +263,7 @@ void FrameMain::InitContents() { ToolsSizer->Add(audioBox, 0, wxEXPAND); ToolsSizer->Add(EditBox, 1, wxEXPAND); TopSizer = new wxBoxSizer(wxHORIZONTAL); - TopSizer->Add(videoSizer, 0, wxEXPAND, 0); + TopSizer->Add(videoBox, 0, wxEXPAND, 0); TopSizer->Add(ToolsSizer, 1, wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM, 5); MainSizer = new wxBoxSizer(wxVERTICAL); MainSizer->Add(new wxStaticLine(Panel),0,wxEXPAND | wxALL,0);