]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove unused wxLocale::GetUntranslatedString().
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 18 Sep 2013 16:03:28 +0000 (16:03 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 18 Sep 2013 16:03:28 +0000 (16:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/intl.h

index f3e862ff4323d996a1e5d28ac25ec86024323df7..fea4d2d65b6981678591b94e618a02e2472f392e 100644 (file)
@@ -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; }