]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/encconv.cpp
fixed wxStrrchr(s, '\0') bug, added const and non const versions of wxStrchr, wxStrrc...
[wxWidgets.git] / src / common / encconv.cpp
index b4e88adf639374b3417bd43b4d2c548f19f509c5..e4763473e5aa20bf086c6b7ba6e4c87f5203fc2c 100644 (file)
@@ -276,7 +276,8 @@ wxString wxEncodingConverter::Convert(const wxString& input)
     wxString s;
     const wxChar *i;
 
-    wxCHECK_RET(m_Table != NULL, wxT("You must call wxEncodingConverter::Init() before actually converting!"));
+    wxCHECK_MSG(m_Table != NULL, s,
+                wxT("You must call wxEncodingConverter::Init() before actually converting!"));
 
     if (m_UnicodeInput)
     {