]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/printmac.cpp
Made wxFileDialog PDA friendlier.
[wxWidgets.git] / src / mac / 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);