1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00

Bug 2516 - Windows: "SAVE" button in "Audio / MIDI Device Info" displays "OK"

This commit is contained in:
Leland Lucius 2020-08-12 14:23:27 -05:00
parent 69859eebe4
commit 2987896470
2 changed files with 3 additions and 2 deletions

View File

@ -52,7 +52,8 @@ void ShowDiagnostics(
.Style(wxTE_MULTILINE | wxTE_READONLY | wxTE_RICH)
.AddTextWindow("");
S.AddStandardButtons(eOkButton | eCancelButton);
wxButton *save = safenew wxButton(S.GetParent(), wxID_OK, _("&Save"));
S.AddStandardButtons(eCancelButton, save);
}
S.EndVerticalLay();
@ -64,7 +65,6 @@ void ShowDiagnostics(
*text << info;
dlg.FindWindowById(wxID_OK)->SetLabel(_("&Save"));
dlg.SetSize(350, 450);
if (dlg.ShowModal() == wxID_OK)

View File

@ -32,6 +32,7 @@
#include "../toolbars/TranscriptionToolBar.h"
#include "../widgets/AudacityMessageBox.h"
#include "../widgets/ErrorDialog.h"
#include "../widgets/ProgressDialog.h"
#include <float.h>