From f6f9b93b17f3625bab61bd0414dff0e4f9e83188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 14 May 2000 17:31:18 +0000 Subject: [PATCH] replaced deprecated use of wxPostScript ctor by the version that uses wxPrintData git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/printps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/printps.cpp b/src/generic/printps.cpp index 0e994766b9..5ca1887655 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -131,7 +131,7 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro } else { - dc = new wxPostScriptDC(wxThePrintSetupData->GetPrinterFile(), FALSE, (wxWindow *) NULL); + dc = new wxPostScriptDC(GetPrintDialogData().GetPrintData()); } // May have pressed cancel.