]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/printmac.cpp
change wxICON_INFO to wxICON_INFORMATION in Mac and MSW wxIcon code to be consistent...
[wxWidgets.git] / src / mac / carbon / printmac.cpp
index 50c666ce95ea10502c74889e8f89dd60c1061a55..33506c4548f02f6ddc0a364edcbb096cb5feedae 100644 (file)
@@ -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);