]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/printps.cpp
CanRead() now restores the stream to its previous state (potential
[wxWidgets.git] / src / generic / printps.cpp
index 3317b1df0abc71ae91550e5b5a66c15f430c0a33..ec2b99b5d3b3a31c80b24c51542a042f02081d99 100644 (file)
@@ -45,6 +45,7 @@
 #include "wx/dcprint.h"
 #include "wx/printdlg.h"
 #include "wx/generic/prntdlgg.h"
+#include "wx/generic/progdlgg.h"
 #include "wx/paper.h"
 
 #include <stdlib.h>
@@ -180,7 +181,7 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro
        totalPages,
        parent,
        wxPD_CAN_ABORT|wxPD_AUTO_HIDE|wxPD_APP_MODAL);
-    
+
     printout->OnBeginPrinting();
 
     bool keepGoing = TRUE;