X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01b5396fcee869baf17192225451c9e310fe53c2..5497e635e042ba244ffb640f231260324402a9d8:/src/generic/printps.cpp?ds=sidebyside diff --git a/src/generic/printps.cpp b/src/generic/printps.cpp index feeea975c4..e63de1fa57 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -255,8 +255,9 @@ wxDC* wxPostScriptPrinter::PrintDialog(wxWindow *parent) return dc; } -bool wxPostScriptPrinter::Setup(wxWindow *parent) +bool wxPostScriptPrinter::Setup(wxWindow *WXUNUSED(parent)) { +#if 0 wxGenericPrintDialog* dialog = new wxGenericPrintDialog(parent, & m_printDialogData); dialog->GetPrintDialogData().SetSetupDialog(true); @@ -268,8 +269,11 @@ bool wxPostScriptPrinter::Setup(wxWindow *parent) } dialog->Destroy(); - + return (ret == wxID_OK); +#endif + + return false; } // ----------------------------------------------------------------------------