Last .empty() string source cleaning before 2.5.4.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-02-02 13:57:02 +00:00
parent 5c2a509fca
commit 525d858363
17 changed files with 50 additions and 50 deletions

View File

@@ -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);
}