]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stringops.cpp
New release script docs.
[wxWidgets.git] / src / common / stringops.cpp
index 9ccd34d95cba6554e405d8e9094be392bf6c1bf1..d51cce4b68c1d4c761fe152e87782e66586527df 100644 (file)
@@ -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