diff --git a/src/unix/uilocale.cpp b/src/unix/uilocale.cpp index b9ba860e10..c1abb31ebf 100644 --- a/src/unix/uilocale.cpp +++ b/src/unix/uilocale.cpp @@ -258,12 +258,9 @@ wxUILocaleImplUnix::~wxUILocaleImplUnix() void wxUILocaleImplUnix::Use() { - if ( m_locId.IsEmpty() ) - { - // This is the default locale, it is already in use. - return; - } - + // Note that we don't need to test if m_locId is not empty here, as we + // still want to call setlocale() with the empty string to use the default + // locale settings in this case. if ( !wxSetlocaleTryAll(LC_ALL, m_locId) ) { // Some C libraries (namely glibc) still use old ISO 639,