don't report setlocale failure if trying to set Unicode-only language

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-04-11 23:20:36 +00:00
parent ef4a634b1b
commit 65dc921d3f
2 changed files with 57 additions and 24 deletions

View File

@@ -119,9 +119,12 @@ bool MyApp::OnInit()
wxLANGUAGE_FRENCH,
wxLANGUAGE_GERMAN,
wxLANGUAGE_RUSSIAN,
#if wxUSE_UNICODE
wxLANGUAGE_JAPANESE,
wxLANGUAGE_GEORGIAN,
#endif
wxLANGUAGE_ENGLISH,
wxLANGUAGE_ENGLISH_US,
wxLANGUAGE_ENGLISH_US
};
if ( lng == -1 )
@@ -134,7 +137,10 @@ bool MyApp::OnInit()
_T("French"),
_T("German"),
_T("Russian"),
_T("Japanese"), // this will only work in Unicode build
#if wxUSE_UNICODE
_T("Japanese"),
_T("Georgian (no translation)"),
#endif
_T("English"),
_T("English (U.S.)")
};