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:
parent
69859eebe4
commit
2987896470
@ -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)
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "../toolbars/TranscriptionToolBar.h"
|
||||
#include "../widgets/AudacityMessageBox.h"
|
||||
#include "../widgets/ErrorDialog.h"
|
||||
#include "../widgets/ProgressDialog.h"
|
||||
|
||||
#include <float.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user