diff --git a/src/common/translation.cpp b/src/common/translation.cpp index ea6d25955b..bf586b24bb 100644 --- a/src/common/translation.cpp +++ b/src/common/translation.cpp @@ -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(); } } } diff --git a/src/msw/registry.cpp b/src/msw/registry.cpp index 83d11c2769..948d9249fb 100644 --- a/src/msw/registry.cpp +++ b/src/msw/registry.cpp @@ -326,7 +326,7 @@ void wxRegKey::SetHkey(WXHKEY hKey) m_mode = Write; // reset old data - m_strKey.empty(); + m_strKey.clear(); m_dwLastError = 0; }