diff --git a/src/generic/printps.cpp b/src/generic/printps.cpp index feeea975c4..3ded123101 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -257,6 +257,7 @@ wxDC* wxPostScriptPrinter::PrintDialog(wxWindow *parent) bool wxPostScriptPrinter::Setup(wxWindow *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 wxID_CANCEL; } // ---------------------------------------------------------------------------- diff --git a/src/mac/carbon/printmac.cpp b/src/mac/carbon/printmac.cpp index a053eb7d80..5befe63b86 100644 --- a/src/mac/carbon/printmac.cpp +++ b/src/mac/carbon/printmac.cpp @@ -699,6 +699,7 @@ wxDC* wxMacPrinter::PrintDialog(wxWindow *parent) bool wxMacPrinter::Setup(wxWindow *parent) { +#if 0 wxPrintDialog dialog(parent, & m_printDialogData); dialog.GetPrintDialogData().SetSetupDialog(TRUE); @@ -710,6 +711,8 @@ bool wxMacPrinter::Setup(wxWindow *parent) } return (ret == wxID_OK); +#endif + return wxID_CANCEL; } /* diff --git a/src/mac/classic/printmac.cpp b/src/mac/classic/printmac.cpp index a053eb7d80..5befe63b86 100644 --- a/src/mac/classic/printmac.cpp +++ b/src/mac/classic/printmac.cpp @@ -699,6 +699,7 @@ wxDC* wxMacPrinter::PrintDialog(wxWindow *parent) bool wxMacPrinter::Setup(wxWindow *parent) { +#if 0 wxPrintDialog dialog(parent, & m_printDialogData); dialog.GetPrintDialogData().SetSetupDialog(TRUE); @@ -710,6 +711,8 @@ bool wxMacPrinter::Setup(wxWindow *parent) } return (ret == wxID_OK); +#endif + return wxID_CANCEL; } /*