X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d9eee83203dfc7177cd8639c14a5c809085698d..f5406730ffdde05e710a68367ac45c15a11c00bc:/src/common/translation.cpp diff --git a/src/common/translation.cpp b/src/common/translation.cpp index ea6d25955b..379eccc45c 100644 --- a/src/common/translation.cpp +++ b/src/common/translation.cpp @@ -50,7 +50,7 @@ #include "wx/stdpaths.h" #include "wx/hashset.h" -#ifdef __WXMSW__ +#ifdef __WINDOWS__ #include "wx/msw/wrapwin.h" #endif @@ -885,7 +885,7 @@ private: }; // ---------------------------------------------------------------------------- -// wxMsgCatalogFile clas +// wxMsgCatalogFile class // ---------------------------------------------------------------------------- wxMsgCatalogFile::wxMsgCatalogFile() @@ -986,7 +986,7 @@ bool wxMsgCatalogFile::LoadData(const DataBuffer& data, if ( m_charset == wxS("CHARSET") ) { // "CHARSET" is not valid charset, but lazy translator - m_charset.empty(); + m_charset.clear(); } } }