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
This commit is contained in:
Paul Cornett
2008-01-28 04:15:11 +00:00
parent 3b2f109dbb
commit e0749635a5

View File

@@ -48,7 +48,7 @@ enum wxLayoutDirection
// another one which just marks the strings for extraction, but doesn't // another one which just marks the strings for extraction, but doesn't
// perform the translation (use -kwxTRANSLATE with xgettext!) // perform the translation (use -kwxTRANSLATE with xgettext!)
#define wxTRANSLATE(str) (str) #define wxTRANSLATE(str) str
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// forward decls // forward decls
@@ -605,7 +605,7 @@ inline const wxString& wxGetTranslation(const wxString& str1,
#define wxPLURAL(sing, plur, n) ((n) == 1 ? (sing) : (plur)) #define wxPLURAL(sing, plur, n) ((n) == 1 ? (sing) : (plur))
#endif #endif
#define wxTRANSLATE(str) (str) #define wxTRANSLATE(str) str
// NB: we use a template here in order to avoid using // NB: we use a template here in order to avoid using
// wxLocale::GetUntranslatedString() above, which would be required if // wxLocale::GetUntranslatedString() above, which would be required if