From: Václav Slavík Date: Sat, 7 Jul 2001 22:42:06 +0000 (+0000) Subject: safe macro expansion X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dfdd617b4b213033453944e19902a6f86b99b795?hp=9f41d601565ed8fef859133519e90e8793dc7372 safe macro expansion git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/intl.h b/include/wx/intl.h index 8521815234..7005b680bb 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -492,7 +492,7 @@ inline const wxMB2WXbuf wxGetTranslation(const wxChar *sz) // Note: use of 'inline' here can cause this symbol not to be found when compiled with gcc //const wxChar *wxGetTranslation(const wxChar *sz); -#define wxGetTranslation(sz) sz +#define wxGetTranslation(sz) (sz) #endif // wxUSE_INTL/!wxUSE_INTL