From 307a97dadfe7a796aa6025ce2da2f6f8196db133 Mon Sep 17 00:00:00 2001 From: Pavel Tyunin Date: Sun, 20 Sep 2020 21:40:19 +0300 Subject: [PATCH] Add wxConvAuto::IsUTF8() --- include/wx/convauto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/convauto.h b/include/wx/convauto.h index caab99973f..23b21dc41c 100644 --- a/include/wx/convauto.h +++ b/include/wx/convauto.h @@ -78,6 +78,8 @@ public: virtual size_t GetMBNulLen() const wxOVERRIDE { return m_conv->GetMBNulLen(); } + virtual bool IsUTF8() const wxOVERRIDE { return m_conv && m_conv->IsUTF8(); } + virtual wxMBConv *Clone() const wxOVERRIDE { return new wxConvAuto(*this); } // return the BOM type of this buffer