From 4e4528f6a570d388d211144ccfa61b5b8995be34 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 8 Nov 2004 19:57:37 +0000 Subject: [PATCH] Warning fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/printps.cpp | 4 ++-- src/generic/prntdlgg.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; } -- 2.45.2