mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 16:39:30 +02:00
Fix sizers in WarningDialog
AddUnits is only allowed in a HorizontalLay or MultiColumn. EndVerticalLay was missing.
This commit is contained in:
parent
564e840d54
commit
98bbb3436d
@ -73,9 +73,10 @@ WarningDialog::WarningDialog(wxWindow *parent, const wxString &message,
|
||||
S.SetBorder(10);
|
||||
S.StartVerticalLay(false);
|
||||
{
|
||||
S.AddUnits(message);
|
||||
S.AddFixedText(message);
|
||||
mCheckBox = S.AddCheckBox(footer, wxT("false"));
|
||||
}
|
||||
S.EndVerticalLay();
|
||||
|
||||
S.SetBorder(0);
|
||||
S.AddStandardButtons(showCancelButton ? eOkButton | eCancelButton : eOkButton);
|
||||
|
Loading…
x
Reference in New Issue
Block a user