]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/printps.cpp
Fix FileTestCase to really test strings with embedded NULs.
[wxWidgets.git] / src / generic / printps.cpp
index d5396c480a940bbfc5c64180d20876e02c2ad879..855b65a7a65678e60ff9630d6563c6decb150cc0 100644 (file)
@@ -40,7 +40,7 @@
 #include "wx/generic/printps.h"
 #include "wx/printdlg.h"
 #include "wx/generic/prntdlgg.h"
-#include "wx/generic/progdlgg.h"
+#include "wx/progdlg.h"
 #include "wx/paper.h"
 
 #include <stdlib.h>
@@ -80,8 +80,6 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro
         return false;
     }
 
-    printout->SetIsPreview(false);
-
     if (m_printDialogData.GetMinPage() < 1)
         m_printDialogData.SetMinPage(1);
     if (m_printDialogData.GetMaxPage() < 1)