X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/307fd9567ea20ad2ecc1312b22063f16eabbe377..642067e02a202feddc97255f1229e4e7378541d9:/src/common/encconv.cpp diff --git a/src/common/encconv.cpp b/src/common/encconv.cpp index b4e88adf63..e4763473e5 100644 --- a/src/common/encconv.cpp +++ b/src/common/encconv.cpp @@ -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) {