aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/util.h b/util.h
index 933c71be0b..188a9ece14 100644
--- a/util.h
+++ b/util.h
@@ -340,10 +340,11 @@ void skipspaces(T& it)
++it;
}
-
-
-
-
+inline const char* wxGetTranslation(const char* psz)
+{
+ // Return translated UTF-8 const char*
+ return wxGetTranslation(wxString(psz, wxConvUTF8)).utf8_str();
+}