- // don't use wxLOCALE_LOAD_DEFAULT flag so that Init() doesn't return
- // false just because it failed to load wxstd catalog
- if ( !m_locale.Init(langIds[lng], wxLOCALE_CONV_ENCODING) )
- {
- wxLogError(_T("This language is not supported by the system."));
- return false;
- }