X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cab1a6053dce9f0a2dcd87d8e2d12d8633f4785f..81f90336020eab200e8f09a6b726c7ec49439b68:/src/common/xti.cpp?ds=sidebyside diff --git a/src/common/xti.cpp b/src/common/xti.cpp index c367e7cf2c..4020bb2c8e 100644 --- a/src/common/xti.cpp +++ b/src/common/xti.cpp @@ -88,7 +88,7 @@ const wxChar *wxEnumData::GetEnumMemberName(int value) const if (value == m_members[i].m_value) return m_members[i].m_name; - return wxT("") ; + return wxEmptyString ; } int wxEnumData::GetEnumMemberValueByIndex( int idx ) const @@ -318,13 +318,13 @@ void wxTypeInfo::Register() if ( ms_typeTable == NULL ) ms_typeTable = new wxTypeInfoMap() ; - if( !m_name.IsEmpty() ) + if( !m_name.empty() ) (*ms_typeTable)[m_name] = this ; } void wxTypeInfo::Unregister() { - if( !m_name.IsEmpty() ) + if( !m_name.empty() ) ms_typeTable->erase(m_name); }