]> git.saurik.com Git - wxWidgets.git/commitdiff
define wxPLURAL even if wxUSE_INTL=0
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 1 May 2007 21:13:56 +0000 (21:13 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 1 May 2007 21:13:56 +0000 (21:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/intl.h

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