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
This commit is contained in:
Václav Slavík
2000-05-14 17:31:18 +00:00
parent f5ea644170
commit f6f9b93b17

View File

@@ -131,7 +131,7 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro
} }
else else
{ {
dc = new wxPostScriptDC(wxThePrintSetupData->GetPrinterFile(), FALSE, (wxWindow *) NULL); dc = new wxPostScriptDC(GetPrintDialogData().GetPrintData());
} }
// May have pressed cancel. // May have pressed cancel.