git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38151
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// on some modern Linux systems (RedHat 8) the default system locale
// is UTF8 -- but it isn't supported by wxGTK in ANSI build at all so
// don't even try to use it in this case
// on some modern Linux systems (RedHat 8) the default system locale
// is UTF8 -- but it isn't supported by wxGTK in ANSI build at all so
// don't even try to use it in this case
-#if !wxUSE_UNICODE && defined(__WXGTK__)
+#if !wxUSE_UNICODE && (defined(__WXGTK__) || defined(__WXMOTIF__))
if ( enc == wxFONTENCODING_UTF8 )
{
// the most similar supported encoding...
if ( enc == wxFONTENCODING_UTF8 )
{
// the most similar supported encoding...