+static void
+TIFFwxWarningHandler(const char* module, const char* fmt, va_list ap)
+{
+ if (module != NULL)
+ wxLogWarning(_("tiff module: %s"), module);
+ wxLogWarning((wxChar *) fmt, ap);
+}
+
+static void
+TIFFwxErrorHandler(const char* module, const char* fmt, va_list ap)
+{
+ if (module != NULL)
+ wxLogError(_("tiff module: %s"), module);
+ wxVLogError((wxChar *) fmt, ap);
+}
+
+} // extern "C"
+