-#if !wxUSE_UNICODE
- // we should use a conversion compatible with the message catalog encoding
- // in the GUI if we don't convert the strings to the current conversion but
- // as the encoding is global, only change it once, otherwise we could get
- // into trouble if we use several message catalogs with different encodings
- //
- // this is, of course, a hack but it at least allows the program to use
- // message catalogs in any encodings without asking the user to change his
- // locale
- if ( !bConvertEncoding &&
- !file.GetCharset().empty() &&
- wxConvUI == &wxConvLocal )
- {
- wxConvUI =
- m_conv = new wxCSConv(file.GetCharset());
- }
-#endif // !wxUSE_UNICODE
-