X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cb21a7b741b9ae7f9e6df43b53d8cf77376c312..4aa1406671c5d6abded83e3713b423ac4d40b7c9:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 0dc780ac31..e20715c4c7 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -2573,7 +2573,7 @@ bool wxLocale::AddCatalog(const wxString& szDomain, const wxString& msgIdCharset) { - wxCHECK_MSG( IsOk(), false, "must initialize catalog first" ); + wxCHECK_MSG( !m_strShort.empty(), false, "must initialize catalog first" ); // It is OK to not load catalog if the msgid language and m_language match,