Really unhardcode the Paste Over dialog's height rather than just the width

Originally committed to SVN as r6374.
This commit is contained in:
Thomas Goyne 2012-01-26 23:23:41 +00:00
parent a54983a9bc
commit 4746ae8a1d

View file

@ -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<bool> options = OPT_GET("Tool/Paste Lines Over/Fields")->GetListBool();