1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-06 06:31:07 +01:00

Translate "Message" as default title of message box...

... This required a sweeping change of all calls to wxMessageBox!  But it seems
safe to me, despite the great number of touched files.
This commit is contained in:
Paul Licameli
2017-09-06 17:39:33 -04:00
parent 378c96fda1
commit ccb4bbac33
94 changed files with 369 additions and 344 deletions

View File

@@ -24,6 +24,7 @@
#include "../Audacity.h"
#include "valnum.h"
#include "ErrorDialog.h"
#ifdef __BORLANDC__
#pragma hdrstop
@@ -32,7 +33,6 @@
#if wxUSE_VALIDATORS && wxUSE_TEXTCTRL
#ifndef WX_PRECOMP
#include <wx/msgdlg.h>
#include <wx/textctrl.h>
#endif
@@ -91,7 +91,7 @@ bool NumValidatorBase::Validate(wxWindow *parent)
if ( !res )
{
wxMessageBox(errmsg, _("Validation error"),
AudacityMessageBox(errmsg, _("Validation error"),
wxOK | wxICON_ERROR, parent);
wxTextEntry *te = GetTextEntry();
if ( te )