new makefiles (part I)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
#include "wx/defs.h"
|
||||
#include "wx/string.h"
|
||||
|
||||
#if wxUSE_INTL
|
||||
|
||||
// ============================================================================
|
||||
// global decls
|
||||
// ============================================================================
|
||||
@@ -137,5 +139,15 @@ inline const wxMB2WXbuf wxGetTranslation(const wxChar *sz)
|
||||
return (const wxMB2WXbuf)sz;
|
||||
}
|
||||
|
||||
#else // !wxUSE_INTL
|
||||
|
||||
#ifndef WXINTL_NO_GETTEXT_MACRO
|
||||
#define _(str) (str)
|
||||
#endif
|
||||
|
||||
inline const wxChar *wxGetTranslation(const wxChar *sz) { return sz; }
|
||||
|
||||
#endif // wxUSE_INTL/!wxUSE_INTL
|
||||
|
||||
#endif
|
||||
// _WX_INTLH__
|
||||
|
Reference in New Issue
Block a user