From: Paul Cornett Date: Mon, 28 Jan 2008 04:15:11 +0000 (+0000) Subject: HP aC++ 3.80 can't handle parenthesized string literal in an initializer X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e0749635a578f8d21a33126702fdf095b1eb69bb HP aC++ 3.80 can't handle parenthesized string literal in an initializer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/intl.h b/include/wx/intl.h index 4a996c086b..6f297c89e9 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -48,7 +48,7 @@ enum wxLayoutDirection // another one which just marks the strings for extraction, but doesn't // perform the translation (use -kwxTRANSLATE with xgettext!) -#define wxTRANSLATE(str) (str) +#define wxTRANSLATE(str) str // ---------------------------------------------------------------------------- // forward decls @@ -605,7 +605,7 @@ inline const wxString& wxGetTranslation(const wxString& str1, #define wxPLURAL(sing, plur, n) ((n) == 1 ? (sing) : (plur)) #endif -#define wxTRANSLATE(str) (str) +#define wxTRANSLATE(str) str // NB: we use a template here in order to avoid using // wxLocale::GetUntranslatedString() above, which would be required if