From ea613544d5ad56b54f28f8380d70ae53fc2c69b8 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/branches/WX_3_0_BRANCH@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 6c84e4bb09..ee9c8aaf89 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; }