Always enable wxMBConv::IsUTF8()
These where previously guarded by wxUSE_UNICODE_UTF8 but may be useful in other configurations too.
This commit is contained in:
@@ -1091,8 +1091,6 @@ char *strdup(const char *s)
|
||||
// wxLocaleIsUtf8
|
||||
// ============================================================================
|
||||
|
||||
#if wxUSE_UNICODE_UTF8
|
||||
|
||||
#if !wxUSE_UTF8_LOCALE_ONLY
|
||||
bool wxLocaleIsUtf8 = false; // the safer setting if not known
|
||||
#endif
|
||||
@@ -1147,8 +1145,6 @@ void wxUpdateLocaleIsUtf8()
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // wxUSE_UNICODE_UTF8
|
||||
|
||||
// ============================================================================
|
||||
// wx wrappers for CRT functions
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user