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:
Tobias Taschner
2017-10-27 19:57:51 +02:00
parent 0cb55df404
commit 73a22766ee
5 changed files with 7 additions and 26 deletions

View File

@@ -68,6 +68,13 @@ public:
*/
static size_t GetMaxMBNulLen();
/**
return true if the converter's charset is UTF-8, i.e. char* strings
decoded using this object can be directly copied to wxString's internal
storage without converting to WC and than back to UTF-8 MB string
*/
virtual bool IsUTF8() const;
/**
Convert multibyte string to a wide character one.