X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cb7e05cd1ffcbb55fea48643fb81e284869ddad..13e24d79876b78545ba300e6b6871bc47af60848:/src/generic/logg.cpp?ds=sidebyside diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index 6edeb90229..71580f7fa9 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -225,13 +225,25 @@ void wxVLogStatus(wxFrame *pFrame, const wxString& format, va_list argptr) } } -void wxDoLogStatus(wxFrame *pFrame, const wxString& format, ...) +#if !wxUSE_UTF8_LOCALE_ONLY +void wxDoLogStatusWchar(wxFrame *pFrame, const wxChar *format, ...) { va_list argptr; va_start(argptr, format); wxVLogStatus(pFrame, format, argptr); va_end(argptr); } +#endif // !wxUSE_UTF8_LOCALE_ONLY + +#if wxUSE_UNICODE_UTF8 +void wxDoLogStatusUtf8(wxFrame *pFrame, const char *format, ...) +{ + va_list argptr; + va_start(argptr, format); + wxVLogStatus(pFrame, format, argptr); + va_end(argptr); +} +#endif // wxUSE_UNICODE_UTF8 // ---------------------------------------------------------------------------- // wxLogGui implementation (FIXME MT-unsafe)