Add wxConvAuto::IsFallbackEncoding()

This commit is contained in:
Pavel Tyunin
2019-02-13 15:00:23 +02:00
parent 1171155fee
commit 2b8fd103b7
2 changed files with 13 additions and 0 deletions

View File

@@ -91,6 +91,12 @@ public:
return m_bomType;
}
// Return true if the fall-back encoding is used
bool IsFallbackEncoding() const
{
return m_ownsConv && m_bomType == wxBOM_None;
}
private:
// common part of all ctors
void Init()