From: Václav Slavík Date: Wed, 18 Sep 2013 16:03:28 +0000 (+0000) Subject: Remove unused wxLocale::GetUntranslatedString(). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/acebfdf0528fd9c091357d8bac962910a901c025 Remove unused wxLocale::GetUntranslatedString(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/intl.h b/include/wx/intl.h index f3e862ff43..fea4d2d65b 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -307,12 +307,6 @@ public: return wxGetTranslation(origString, origString2, n, domain); } - // this is hack to work around a problem with wxGetTranslation() which - // returns const wxString& and not wxString, so when it returns untranslated - // string, it needs to have a copy of it somewhere - static const wxString& GetUntranslatedString(const wxString& str) - { return wxTranslations::GetUntranslatedString(str); } - // Returns the current short name for the locale const wxString& GetName() const { return m_strShort; }