#if wxUSE_UNICODE_UTF8
// flag indicating whether the current locale uses UTF-8 or not; must be
// updated every time the locale is changed!
#if wxUSE_UNICODE_UTF8
// flag indicating whether the current locale uses UTF-8 or not; must be
// updated every time the locale is changed!
extern WXDLLIMPEXP_BASE bool wxLocaleIsUtf8;
#endif
// function used to update the flag:
extern WXDLLIMPEXP_BASE void wxUpdateLocaleIsUtf8();
#else // !wxUSE_UNICODE_UTF8
extern WXDLLIMPEXP_BASE bool wxLocaleIsUtf8;
#endif
// function used to update the flag:
extern WXDLLIMPEXP_BASE void wxUpdateLocaleIsUtf8();
#else // !wxUSE_UNICODE_UTF8
WXDLLIMPEXP_BASE wxWCharBuffer wxSetlocale_(int category, const wxChar *locale);
WXDLLIMPEXP_BASE wxWCharBuffer wxSetlocale(int category, const wxChar *locale);
#else
WXDLLIMPEXP_BASE wxWCharBuffer wxSetlocale_(int category, const wxChar *locale);
WXDLLIMPEXP_BASE wxWCharBuffer wxSetlocale(int category, const wxChar *locale);
#else