X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/307fd9567ea20ad2ecc1312b22063f16eabbe377..0ba344c712c77e4a6c7b94263b6f39ab22069039:/src/common/encconv.cpp?ds=sidebyside 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) {