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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user