git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20805
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// 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)