i18n fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-02-18 19:39:03 +00:00
parent 8a7c9dcc1c
commit dd0e574a0e
2 changed files with 5 additions and 4 deletions

View File

@@ -479,7 +479,8 @@ wxLocale::~wxLocale()
const char *wxLocale::GetString(const char *szOrigString,
const char *szDomain) const
{
wxASSERT( szOrigString != NULL ); // would be pretty silly
if ( IsEmpty(szOrigString) )
return szDomain;
const char *pszTrans = NULL;