+ printf("%s", (const char*)str.mb_str());
+ return str.Len();
+}
+
+int WXDLLEXPORT wxFprintf(FILE *stream, const wxChar *fmt, ...)
+{
+ va_list argptr;
+ int ret;
+
+ va_start(argptr, fmt);
+ ret = wxVfprintf(stream, fmt, argptr);
+ va_end(argptr);
+ return ret;
+}
+
+int WXDLLEXPORT wxFvprintf(FILE *stream, const wxChar *fmt, va_list argptr)
+{
+ wxString str;
+ str.PrintfV(fmt,argptr);
+ fprintf(stream, "%s", (const char*)str.mb_str());