From ce403057df34ac55bd0a50d47725420dc51e5e92 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Thu, 28 Oct 2004 11:43:53 +0000 Subject: [PATCH] Warning fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/imagpng.cpp | 2 +- src/common/prntbase.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index deac2bc1c9..54c3ac8819 100644 --- a/src/common/imagpng.cpp +++ b/src/common/imagpng.cpp @@ -175,7 +175,7 @@ void PNGLINKAGEMODE wx_PNG_stream_writer( png_structp png_ptr, png_bytep data, // from pngerror.c // so that the libpng doesn't send anything on stderr void -PNGLINKAGEMODE wx_png_error(png_structp png_ptr, png_const_charp message) +PNGLINKAGEMODE wx_png_error(png_structp WXUNUSED(png_ptr), png_const_charp message) { wxLogFatalError( wxString::FromAscii(message) ); } diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index e1f655959f..e0a3bbf3a5 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -171,8 +171,12 @@ bool wxNativePrintFactory::HasPrintSetupDialog() wxDialog *wxNativePrintFactory::CreatePrintSetupDialog( wxWindow *parent, wxPrintData *data ) { #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) + wxUnusedVar(parent); + wxUnusedVar(data); return NULL; #elif defined(__WXMAC__) + wxUnusedVar(parent); + wxUnusedVar(data); return NULL; #else // Only here do we need to provide the print setup -- 2.50.0