]> git.saurik.com Git - wxWidgets.git/commitdiff
safe macro expansion
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 7 Jul 2001 22:42:06 +0000 (22:42 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 7 Jul 2001 22:42:06 +0000 (22:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/intl.h

index 85218152344c755a6fe4bf0bb6d8222ec5e7eadb..7005b680bb92254616ba105ce577bc658a0ba61b 100644 (file)
@@ -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