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
This commit is contained in:
Paul Cornett
2014-04-04 15:56:29 +00:00
parent 4c76ae6707
commit ba962b00cb

View File

@@ -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;
}