1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-20 07:46:30 +01:00

Define AudacityMessageDialog wrapper around wxMessageDialog...

... Prohibiting use of the default caption which is unlocalized.  (But we
didn't use it in fact anywhere.)
This commit is contained in:
Paul Licameli
2017-10-12 12:21:52 -04:00
parent af290d73c0
commit e8b875ff81
9 changed files with 31 additions and 14 deletions

View File

@@ -309,7 +309,7 @@ void TimerRecordDialog::OnAutoSavePathButton_Click(wxCommandEvent& WXUNUSED(even
// If project already exists then abort - we do not allow users to overwrite an existing project
// unless it is the current project.
if (wxFileExists(fName) && (pProject->GetFileName() != fName)) {
wxMessageDialog m(
AudacityMessageDialog m(
NULL,
_("The selected file name could not be used\nfor Timer Recording because it \
would overwrite another project.\nPlease try again and select an original name."),
@@ -416,7 +416,7 @@ void TimerRecordDialog::OnOK(wxCommandEvent& WXUNUSED(event))
sPlannedTime,
sRemainingTime);
wxMessageDialog dlgMessage(NULL,
AudacityMessageDialog dlgMessage(NULL,
sMessage,
_("Timer Recording Disk Space Warning"),
wxYES_NO | wxNO_DEFAULT | wxICON_WARNING);