X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cec5ffc46da1cf66cb3e61567006a8c0f4b84f81..bc3863bd16802e3e3380867b4eb27c604dca1f44:/include/wx/intl.h

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