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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user