]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/hash.cpp
Added licence/copyright information
[wxWidgets.git] / src / common / hash.cpp
index c9a0c31aa03205de91aee1df34b9be74d4cc76f5..7f313cd56f71c9b494bb078a3b891a9dbf33e925 100644 (file)
@@ -288,7 +288,7 @@ void wxStringHashTable::Put(long key, const wxString& value)
 
 wxString wxStringHashTable::Get(long key, bool *wasFound) const
 {
-    wxCHECK_MSG( m_hashSize, _T(""), _T("must call Create() first") );
+    wxCHECK_MSG( m_hashSize, wxEmptyString, _T("must call Create() first") );
 
     size_t slot = (size_t)abs((int)(key % (long)m_hashSize));
 
@@ -311,7 +311,7 @@ wxString wxStringHashTable::Get(long key, bool *wasFound) const
     if ( wasFound )
         *wasFound = false;
 
-    return _T("");
+    return wxEmptyString;
 }
 
 bool wxStringHashTable::Delete(long key) const