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:
parent
021269ca26
commit
6c3e4f860a
@ -241,9 +241,11 @@ How do you want to import the current file(s)?"), oldCopyPref == wxT("copy") ? _
|
|||||||
prefsRadio->SetValue(true);
|
prefsRadio->SetValue(true);
|
||||||
|
|
||||||
wxSizer *buttonSizer = dialog.CreateButtonSizer(wxOK | wxCANCEL);
|
wxSizer *buttonSizer = dialog.CreateButtonSizer(wxOK | wxCANCEL);
|
||||||
vbox->Add(buttonSizer, 0, wxALL | wxEXPAND);
|
vbox->Add(buttonSizer, 0, wxALL | wxEXPAND, 10);
|
||||||
|
|
||||||
dialog.SetSize(dialog.GetBestSize());
|
dialog.SetSize(dialog.GetBestSize());
|
||||||
dialog.Layout();
|
dialog.Layout();
|
||||||
|
dialog.Center();
|
||||||
|
|
||||||
if (dialog.ShowModal() == wxID_OK) {
|
if (dialog.ShowModal() == wxID_OK) {
|
||||||
if (aliasRadio->GetValue()) {
|
if (aliasRadio->GetValue()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user