1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-05 11:13:16 +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

@@ -23,7 +23,8 @@ got to show.
#include "AudacityException.h"
#include <wx/atomic.h>
#include <wx/msgdlg.h>
#include "widgets/ErrorDialog.h"
AudacityException::~AudacityException()
{
@@ -100,9 +101,9 @@ void MessageBoxException::DelayedHandlerAction()
// common cause such as exhaustion of disk space so that the others
// give the user no useful added information.
if ( wxAtomicDec( sOutstandingMessages ) == 0 )
::wxMessageBox(
::AudacityMessageBox(
ErrorMessage(),
caption.IsEmpty() ? wxMessageBoxCaptionStr : caption,
caption.IsEmpty() ? AudacityMessageBoxCaptionStr() : caption,
wxICON_ERROR
);
moved = true;