From bd485315a84d0c757fc814abcd930a52e82e5fdb Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Mon, 18 May 2009 23:37:41 +0000 Subject: [PATCH] Update #742, attempt fixing the bug. Removing wxEXPAND from some sizers, seems to work fine on Windows. Will test Mac build when tinderbox builds it. Originally committed to SVN as r2953. --- aegisub/src/video_box.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aegisub/src/video_box.cpp b/aegisub/src/video_box.cpp index 0934c0ea8..cb96cc0bb 100644 --- a/aegisub/src/video_box.cpp +++ b/aegisub/src/video_box.cpp @@ -128,8 +128,8 @@ VideoBox::VideoBox(wxWindow *parent) wxSizer *topTopSizer = new wxBoxSizer(wxHORIZONTAL); wxSizer *topSizer = new wxBoxSizer(wxVERTICAL); visualSubToolBar->Show(false); - topTopSizer->Add(visualToolBar,0,wxEXPAND,0); - topTopSizer->Add(videoDisplay,1,wxEXPAND,0); + topTopSizer->Add(visualToolBar,0,0,0); + topTopSizer->Add(videoDisplay,1,0,0); topSizer->Add(topTopSizer,1,wxEXPAND,0); topSizer->Add(visualSubToolBar,0,wxEXPAND | wxBOTTOM,4); topSizer->Add(new wxStaticLine(videoPage),0,wxEXPAND,0);