From eee3624b111881520d7d58fe174ef563c62d8375 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 1 Jun 2003 13:21:40 +0000 Subject: [PATCH] Applied patch [ 743248 ] wxArray::RemoveAt() error message fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/arrimpl.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/wx/arrimpl.cpp b/include/wx/arrimpl.cpp index 46f94e5dab..cee3933129 100644 --- a/include/wx/arrimpl.cpp +++ b/include/wx/arrimpl.cpp @@ -22,12 +22,7 @@ // needed to resolve the conflict between global T and macro parameter T -// VC++ can't cope with string concatenation in Unicode mode -#if defined(wxUSE_UNICODE) && wxUSE_UNICODE -#define _WX_ERROR_REMOVE2(x) wxT("bad index in ::RemoveAt()") -#else -#define _WX_ERROR_REMOVE2(x) wxT("bad index in " #x "::RemoveAt()") -#endif +#define _WX_ERROR_REMOVE2(x) wxT("bad index in ") wxT(#x) wxT("::RemoveAt()") // macro implements remaining (not inline) methods of template list // (it's private to this file)