X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01b5396fcee869baf17192225451c9e310fe53c2..b16de7461ac6d97b0b04a5ce4e73447925e93416:/src/generic/printps.cpp?ds=sidebyside diff --git a/src/generic/printps.cpp b/src/generic/printps.cpp index feeea975c4..3b566ffefa 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "printps.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -255,8 +251,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 +265,11 @@ bool wxPostScriptPrinter::Setup(wxWindow *parent) } dialog->Destroy(); - + return (ret == wxID_OK); +#endif + + return false; } // ----------------------------------------------------------------------------