From: Włodzimierz Skiba Date: Mon, 8 Nov 2004 19:57:37 +0000 (+0000) Subject: Warning fixes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4e4528f6a570d388d211144ccfa61b5b8995be34 Warning fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/printps.cpp b/src/generic/printps.cpp index 3ded123101..e63de1fa57 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -255,7 +255,7 @@ 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); @@ -273,7 +273,7 @@ bool wxPostScriptPrinter::Setup(wxWindow *parent) return (ret == wxID_OK); #endif - return wxID_CANCEL; + return false; } // ---------------------------------------------------------------------------- diff --git a/src/generic/prntdlgg.cpp b/src/generic/prntdlgg.cpp index 5d24eb9e7d..44d3eb1c4a 100644 --- a/src/generic/prntdlgg.cpp +++ b/src/generic/prntdlgg.cpp @@ -110,12 +110,12 @@ wxPostScriptPrintNativeData::~wxPostScriptPrintNativeData() { } -bool wxPostScriptPrintNativeData::TransferTo( wxPrintData &data ) +bool wxPostScriptPrintNativeData::TransferTo( wxPrintData &WXUNUSED(data) ) { return true; } -bool wxPostScriptPrintNativeData::TransferFrom( const wxPrintData &data ) +bool wxPostScriptPrintNativeData::TransferFrom( const wxPrintData &WXUNUSED(data) ) { return true; }