X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b781a6729859abc77e6ca5b1f81cbaad974a78f..9b69526274b023fa1460b29a92bea8bf82e4703f:/src/mac/carbon/printmac.cpp diff --git a/src/mac/carbon/printmac.cpp b/src/mac/carbon/printmac.cpp index 50c666ce95..33506c4548 100644 --- a/src/mac/carbon/printmac.cpp +++ b/src/mac/carbon/printmac.cpp @@ -29,6 +29,8 @@ #include "wx/msgdlg.h" #endif +#include "wx/mac/private.h" + #include "wx/mac/printmac.h" #include "wx/dcprint.h" #include "wx/printdlg.h" @@ -144,6 +146,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);