From ba962b00cb5e7f1695e871fdb3161182dad5288b Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Fri, 4 Apr 2014 15:56:29 +0000 Subject: [PATCH] remove redundant assertion messages, wxLogError has already been called git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/print.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gtk/print.cpp b/src/gtk/print.cpp index 7399cebb6d..29d289a579 100644 --- a/src/gtk/print.cpp +++ b/src/gtk/print.cpp @@ -949,7 +949,6 @@ bool wxGtkPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt ) if (ret == wxID_NO) { sm_lastError = wxPRINTER_ERROR; - wxFAIL_MSG(_("The print dialog returned an error.")); } return (sm_lastError == wxPRINTER_NO_ERROR); @@ -1137,7 +1136,6 @@ wxDC* wxGtkPrinter::PrintDialog( wxWindow *parent ) if (ret == wxID_NO) { sm_lastError = wxPRINTER_ERROR; - wxFAIL_MSG(_("The print dialog returned an error.")); return NULL; }