added missing return on error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-06-28 06:31:37 +00:00
parent 93f0fe75dd
commit 4b7b750dd1
2 changed files with 2 additions and 0 deletions

View File

@@ -144,6 +144,7 @@ bool wxMacPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt)
wxEndBusyCursor();
wxMessageBox("Sorry, could not create an abort dialog.", "Print Error", wxOK, parent);
delete dc;
return FALSE;
}
sm_abortWindow = win;
sm_abortWindow->Show(TRUE);

View File

@@ -144,6 +144,7 @@ bool wxMacPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt)
wxEndBusyCursor();
wxMessageBox("Sorry, could not create an abort dialog.", "Print Error", wxOK, parent);
delete dc;
return FALSE;
}
sm_abortWindow = win;
sm_abortWindow->Show(TRUE);