]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/arrimpl.cpp
ok, putting it back... not everybody has autoheader
[wxWidgets.git] / include / wx / arrimpl.cpp
index e52d81def300c47f7e1224c188c11082f14f0061..e7bca61b232ce90c7501a0435d558cdcc5348fce 100644 (file)
@@ -58,7 +58,7 @@ void name::Empty()                                                            \
                                                                               \
 void name::Remove(size_t uiIndex)                                             \
 {                                                                             \
-  wxCHECK_RET( uiIndex < Count(), "bad index in " #name "::Remove()" );       \
+  wxCHECK_RET( uiIndex < Count(), _T("bad index in " #name "::Remove()") );   \
                                                                               \
   delete (T*)wxBaseArray::Item(uiIndex);                                      \
                                                                               \
@@ -99,7 +99,7 @@ int name::Index(const T& Item, bool bFromEnd) const                           \
     }                                                                         \
   }                                                                           \
                                                                               \
-  return NOT_FOUND;                                                           \
+  return wxNOT_FOUND;                                                           \
 }                                                                             
 
 // redefine the macro so that now it will generate the class implementation