X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ac883a0d005437c97a60d8195bd5e4719b1154..eff869aad2585994c3a4b21b36cdf98245ab3f15:/include/wx/intl.h diff --git a/include/wx/intl.h b/include/wx/intl.h index 2a8ccef47b..34072e0dbd 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) (str) + // ---------------------------------------------------------------------------- // forward decls // ----------------------------------------------------------------------------