Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-10-28 11:43:53 +00:00
parent bee671476e
commit ce403057df
2 changed files with 5 additions and 1 deletions

View File

@@ -175,7 +175,7 @@ void PNGLINKAGEMODE wx_PNG_stream_writer( png_structp png_ptr, png_bytep data,
// from pngerror.c // from pngerror.c
// so that the libpng doesn't send anything on stderr // so that the libpng doesn't send anything on stderr
void 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) ); wxLogFatalError( wxString::FromAscii(message) );
} }

View File

@@ -171,8 +171,12 @@ bool wxNativePrintFactory::HasPrintSetupDialog()
wxDialog *wxNativePrintFactory::CreatePrintSetupDialog( wxWindow *parent, wxPrintData *data ) wxDialog *wxNativePrintFactory::CreatePrintSetupDialog( wxWindow *parent, wxPrintData *data )
{ {
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
wxUnusedVar(parent);
wxUnusedVar(data);
return NULL; return NULL;
#elif defined(__WXMAC__) #elif defined(__WXMAC__)
wxUnusedVar(parent);
wxUnusedVar(data);
return NULL; return NULL;
#else #else
// Only here do we need to provide the print setup // Only here do we need to provide the print setup