X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9f782ef3949f583e8ac53795d36787f044fc3..737883f20a97658d4d94f8dfbcf2062209c39a28:/src/generic/printps.cpp?ds=sidebyside diff --git a/src/generic/printps.cpp b/src/generic/printps.cpp index d5396c480a..855b65a7a6 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -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 @@ -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)