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