X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03a0d5845160f5e890db47e09fcdba8e79546c4a..c7428e0813e34f87b638268625938c7c99aaf844:/src/common/stringops.cpp diff --git a/src/common/stringops.cpp b/src/common/stringops.cpp index 9ccd34d95c..d51cce4b68 100644 --- a/src/common/stringops.cpp +++ b/src/common/stringops.cpp @@ -191,14 +191,6 @@ bool wxStringOperationsUtf8::IsValidUtf8String(const char *str, size_t len) return true; } -#ifdef __WXDEBUG__ -bool wxStringOperationsUtf8::IsValidUtf8LeadByte(unsigned char c) -{ - return (c <= 0x7F) || (c >= 0xC2 && c <= 0xF4); -} -#endif - - // NB: this is in this file and not unichar.cpp to keep all UTF-8 encoding // code in single place wxUniChar::Utf8CharBuffer wxUniChar::AsUTF8() const