From 010e897e48e8fb173f29cfecd3db2b1077163cdd Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Fri, 4 Apr 2014 16:00:03 +0000 Subject: [PATCH] assertion messages don't need to be translated git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/print.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gtk/print.cpp b/src/gtk/print.cpp index 29d289a579..665dd63e57 100644 --- a/src/gtk/print.cpp +++ b/src/gtk/print.cpp @@ -976,7 +976,7 @@ void wxGtkPrinter::BeginPrint(wxPrintout *printout, GtkPrintOperation *operation if (sm_lastError != wxPRINTER_CANCELLED) { sm_lastError = wxPRINTER_ERROR; - wxFAIL_MSG(_("The wxGtkPrinterDC cannot be used.")); + wxFAIL_MSG("The wxGtkPrinterDC cannot be used."); } return; } @@ -1004,7 +1004,7 @@ void wxGtkPrinter::BeginPrint(wxPrintout *printout, GtkPrintOperation *operation if (maxPage == 0) { sm_lastError = wxPRINTER_ERROR; - wxFAIL_MSG(_("wxPrintout::GetPageInfo gives a null maxPage.")); + wxFAIL_MSG("wxPrintout::GetPageInfo gives a null maxPage."); return; } @@ -1239,7 +1239,7 @@ bool wxGtkPrinterDCImpl::DoFloodFill(wxCoord WXUNUSED(x1), { // We can't access the given coord as a Cairo context is scalable, ie a // coord doesn't mean anything in this context. - wxFAIL_MSG(_("not implemented")); + wxFAIL_MSG("not implemented"); return false; } @@ -1344,7 +1344,7 @@ bool wxGtkPrinterDCImpl::DoGetPixel(wxCoord WXUNUSED(x1), wxCoord WXUNUSED(y1), wxColour * WXUNUSED(col)) const { - wxFAIL_MSG(_("not implemented")); + wxFAIL_MSG("not implemented"); return false; } @@ -2031,7 +2031,7 @@ void wxGtkPrinterDCImpl::SetBrush( const wxBrush& brush ) cairo_line_to(cr, 5, 10); break; default: - wxFAIL_MSG(_("Couldn't get hatch style from wxBrush.")); + wxFAIL_MSG("Couldn't get hatch style from wxBrush."); } cairo_set_source_rgba(cr, redPS, greenPS, bluePS, alphaPS);