+// ----------------------------------------------------------------------------
+// inline functions
+// ----------------------------------------------------------------------------
+
+// get the translation of the string in the current locale
+inline const char *wxGetTranslation(const char *sz)
+{
+ wxLocale *pLoc = wxGetLocale();
+ return pLoc == NULL ? sz : pLoc->GetString(sz);
+}
+