Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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) );
|
||||
}
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user