Helpers in disabling warnings for unused params.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-06-30 15:31:20 +00:00
parent ff782aec70
commit 7bea7b9148
5 changed files with 48 additions and 39 deletions

View File

@@ -137,7 +137,9 @@ _tiffUnmapProc(thandle_t WXUNUSED(handle),
}
static void
TIFFwxWarningHandler(const char* module, const char* fmt, va_list ap)
TIFFwxWarningHandler(const char* module,
const char* WXUNUSED_IN_UNICODE(fmt),
va_list WXUNUSED_IN_UNICODE(ap))
{
if (module != NULL)
wxLogWarning(_("tiff module: %s"), wxString::FromAscii(module).c_str());
@@ -151,7 +153,9 @@ TIFFwxWarningHandler(const char* module, const char* fmt, va_list ap)
}
static void
TIFFwxErrorHandler(const char* module, const char* fmt, va_list ap)
TIFFwxErrorHandler(const char* module,
const char* WXUNUSED_IN_UNICODE(fmt),
va_list WXUNUSED_IN_UNICODE(ap))
{
if (module != NULL)
wxLogError(_("tiff module: %s"), wxString::FromAscii(module).c_str());