mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02: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:
@@ -20,7 +20,6 @@
|
||||
#include <wx/defs.h>
|
||||
#include <wx/dc.h>
|
||||
#include <wx/intl.h>
|
||||
#include <wx/msgdlg.h>
|
||||
#include <wx/print.h>
|
||||
#include <wx/printdlg.h>
|
||||
|
||||
@@ -29,6 +28,7 @@
|
||||
#include "ViewInfo.h"
|
||||
#include "WaveTrack.h"
|
||||
#include "widgets/Ruler.h"
|
||||
#include "widgets/ErrorDialog.h"
|
||||
|
||||
#include "Experimental.h"
|
||||
|
||||
@@ -163,7 +163,7 @@ void HandlePrint(wxWindow *parent, const wxString &name, TrackList *tracks)
|
||||
AudacityPrintout printout(name, tracks);
|
||||
if (!printer.Print(parent, &printout, true)) {
|
||||
if (wxPrinter::GetLastError() == wxPRINTER_ERROR) {
|
||||
wxMessageBox(_("There was a problem printing."),
|
||||
AudacityMessageBox(_("There was a problem printing."),
|
||||
_("Print"), wxOK);
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user