Add wxTranslations::GetTranslatedString().
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 18 Sep 2013 16:03:31 +0000 (16:03 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 18 Sep 2013 16:03:31 +0000 (16:03 +0000)
commitf2959820a5286e4b1595bb9c89de30fa69d6fc6a
tree0fa8a0e268270b7153caef44cbdbb8f3c60a814f
parentacebfdf0528fd9c091357d8bac962910a901c025
Add wxTranslations::GetTranslatedString().

Replace GetString(), which always returns something (possibly the
original string) with GetTranslatedString() that returns either a
pointer to translated string or NULL.

This simplifies the code a bit, all handling of missing translations is
now done in wxGetTranslation().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/translation.h
interface/wx/intl.h
interface/wx/translation.h
src/common/translation.cpp