]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/intl.h
added encodings handling to XRC, so that it is possible to load resources that don...
[wxWidgets.git] / include / wx / intl.h
index a8e82332770cfb0bff00d3e7706c4cdd4aa065d7..7005b680bb92254616ba105ce577bc658a0ba61b 100644 (file)
@@ -490,7 +490,9 @@ inline const wxMB2WXbuf wxGetTranslation(const wxChar *sz)
 
 #define wxTRANSLATE(str) _T(str)
 
-inline const wxChar *wxGetTranslation(const wxChar *sz) { return sz; }
+// 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)
 
 #endif // wxUSE_INTL/!wxUSE_INTL