let _T() work with macros (modified patch 1437983)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-03-09 13:16:02 +00:00
parent e5e41cfecb
commit 7fab07efba

View File

@ -232,7 +232,8 @@
#if !wxUSE_UNICODE
#define _T(x) x
#else /* Unicode */
#define _T(x) L ## x
/* use wxCONCAT_HELPER so that x could be expanded if it's a macro */
#define _T(x) wxCONCAT_HELPER(L, x)
#endif /* ASCII/Unicode */
#endif /* !defined(_T) */