X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/307fd9567ea20ad2ecc1312b22063f16eabbe377..94c162795e6ebff164bcfc7bb9aa0138dd83b194:/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) {