X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22692cf6eab5cb2ee12853b96bbf53afd73d5d66..ab20a9a95a8bbed75bfc6ecba20f013eb9dcff46:/include/wx/arrimpl.cpp diff --git a/include/wx/arrimpl.cpp b/include/wx/arrimpl.cpp index e52d81def3..e7bca61b23 100644 --- a/include/wx/arrimpl.cpp +++ b/include/wx/arrimpl.cpp @@ -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