]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/xti.cpp
missing break in ParseFormat() (part of patch 1160117)
[wxWidgets.git] / src / common / xti.cpp
index c367e7cf2ca837a63f3739c3643b3ea130c1222b..4020bb2c8e598d3a9b42caa29905d8f043d25711 100644 (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);
 }