define wxPLURAL even if wxUSE_INTL=0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-05-01 21:13:56 +00:00
parent 5cb78ae7c4
commit 2765cbb5aa

View File

@@ -591,6 +591,7 @@ inline const wxString& wxGetTranslation(const wxString& str1,
#if !defined(_) #if !defined(_)
#define _(s) (_T(s)) #define _(s) (_T(s))
#endif #endif
#define wxPLURAL(sing, plur, n) ((n) == 1 ? _T(sing) : _T(plur))
#endif #endif
#define wxTRANSLATE(str) _T(str) #define wxTRANSLATE(str) _T(str)