]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stringops.h
added code for optimized handling of UTF-8 locales: some string operations are more...
[wxWidgets.git] / include / wx / stringops.h
index 2cfbe188e40ad3a746ffa81f32ea9acfd9368c24..ed53532d9e0392665af8410c6e7026f317502ba6 100644 (file)
@@ -65,7 +65,8 @@ struct WXDLLIMPEXP_BASE wxStringOperationsWchar
 struct WXDLLIMPEXP_BASE wxStringOperationsUtf8
 {
     // checks correctness of UTF-8 sequence
-    static bool IsValidUtf8String(const char *c);
+    static bool IsValidUtf8String(const char *c,
+                                  size_t len = wxStringImpl::npos);
 #ifdef __WXDEBUG__
     static bool IsValidUtf8LeadByte(unsigned char c);
 #endif