From 4746ae8a1d4411d2f340a66232c728cb789947d0 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 26 Jan 2012 23:23:41 +0000 Subject: [PATCH] Really unhardcode the Paste Over dialog's height rather than just the width Originally committed to SVN as r6374. --- aegisub/src/dialog_paste_over.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/dialog_paste_over.cpp b/aegisub/src/dialog_paste_over.cpp index 5273dcc42..8205aedb0 100644 --- a/aegisub/src/dialog_paste_over.cpp +++ b/aegisub/src/dialog_paste_over.cpp @@ -69,7 +69,7 @@ DialogPasteOver::DialogPasteOver(wxWindow *parent) choices.Add(_("Margin Vertical")); choices.Add(_("Effect")); choices.Add(_("Text")); - ListBox = new wxCheckListBox(this, -1, wxDefaultPosition, wxSize(-1, 170), choices); + ListBox = new wxCheckListBox(this, -1, wxDefaultPosition, wxDefaultSize, choices); ListSizer->Add(ListBox, wxSizerFlags(0).Expand().Border(wxTOP)); std::vector options = OPT_GET("Tool/Paste Lines Over/Fields")->GetListBool();