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