X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ac883a0d005437c97a60d8195bd5e4719b1154..c61f4f6dbd971245f694eb01034c86040a44db00:/include/wx/intl.h diff --git a/include/wx/intl.h b/include/wx/intl.h index 2a8ccef47b..aec71543fb 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -32,9 +32,13 @@ // gettext() style macro (notice that xgettext should be invoked with "-k_" // option to extract the strings inside _() from the sources) #ifndef WXINTL_NO_GETTEXT_MACRO - #define _(str) wxGetTranslation(_T(str)) + #define _(str) wxGetTranslation(wxT(str)) #endif +// another one which just marks the strings for extraction, but doesn't +// perform the translation (use -kwxTRANSLATE with xgettext!) +#define wxTRANSLATE(str) wxT(str) + // ---------------------------------------------------------------------------- // forward decls // ----------------------------------------------------------------------------