1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-05 06:59:07 +02:00

Bug 324 (P2) followup - Add a border around the buttons in the warning dialog. Also center the dialog on the window.

This commit is contained in:
mchinen 2011-04-04 19:33:19 +00:00
parent 021269ca26
commit 6c3e4f860a

View File

@ -241,9 +241,11 @@ How do you want to import the current file(s)?"), oldCopyPref == wxT("copy") ? _
prefsRadio->SetValue(true);
wxSizer *buttonSizer = dialog.CreateButtonSizer(wxOK | wxCANCEL);
vbox->Add(buttonSizer, 0, wxALL | wxEXPAND);
vbox->Add(buttonSizer, 0, wxALL | wxEXPAND, 10);
dialog.SetSize(dialog.GetBestSize());
dialog.Layout();
dialog.Center();
if (dialog.ShowModal() == wxID_OK) {
if (aliasRadio->GetValue()) {