From 33046a8283bcb192ffe717dea944cb4ef262e9da Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 22 Jan 2007 12:26:19 +0000 Subject: [PATCH] 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 --- include/wx/intl.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/wx/intl.h b/include/wx/intl.h index 471d9ad9ba..5d16e3a3e9 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -592,9 +592,11 @@ inline const wxChar *wxGetTranslation(const wxChar *sz1, const wxChar *sz2, #define wxTRANSLATE(str) _T(str) -// Note: use of 'inline' here can cause this symbol not to be found when compiled with gcc -//const wxChar *wxGetTranslation(const wxChar *sz); -#define wxGetTranslation(sz) (sz) +inline const wxChar *wxGetTranslation(const wxChar *sz, + const wxChar *WXUNUSED(domain) = NULL) +{ + return sz; +} #endif // wxUSE_INTL/!wxUSE_INTL -- 2.45.2