fixed wxGetTranslation() prototype in the !wxUSE_INTL case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -592,9 +592,11 @@ inline const wxChar *wxGetTranslation(const wxChar *sz1, const wxChar *sz2,
|
|||||||
|
|
||||||
#define wxTRANSLATE(str) _T(str)
|
#define wxTRANSLATE(str) _T(str)
|
||||||
|
|
||||||
// Note: use of 'inline' here can cause this symbol not to be found when compiled with gcc
|
inline const wxChar *wxGetTranslation(const wxChar *sz,
|
||||||
//const wxChar *wxGetTranslation(const wxChar *sz);
|
const wxChar *WXUNUSED(domain) = NULL)
|
||||||
#define wxGetTranslation(sz) (sz)
|
{
|
||||||
|
return sz;
|
||||||
|
}
|
||||||
|
|
||||||
#endif // wxUSE_INTL/!wxUSE_INTL
|
#endif // wxUSE_INTL/!wxUSE_INTL
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user