reverted Robert's preference for tables-driven EC_CharSet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -908,15 +908,6 @@ static wxCharacterSet *wxGetCharacterSet(const wxChar *name)
|
|||||||
cset = NULL;
|
cset = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if wxUSE_FONTMAP
|
|
||||||
cset = new EC_CharSet(name);
|
|
||||||
if ( cset->usable() )
|
|
||||||
return cset;
|
|
||||||
|
|
||||||
delete cset;
|
|
||||||
cset = NULL;
|
|
||||||
#endif // wxUSE_FONTMAP
|
|
||||||
|
|
||||||
#if defined(__WIN32__) && !defined(__WXMICROWIN__)
|
#if defined(__WIN32__) && !defined(__WXMICROWIN__)
|
||||||
cset = new CP_CharSet(name);
|
cset = new CP_CharSet(name);
|
||||||
if ( cset->usable() )
|
if ( cset->usable() )
|
||||||
@@ -926,6 +917,15 @@ static wxCharacterSet *wxGetCharacterSet(const wxChar *name)
|
|||||||
cset = NULL;
|
cset = NULL;
|
||||||
#endif // __WIN32__
|
#endif // __WIN32__
|
||||||
|
|
||||||
|
#if wxUSE_FONTMAP
|
||||||
|
cset = new EC_CharSet(name);
|
||||||
|
if ( cset->usable() )
|
||||||
|
return cset;
|
||||||
|
|
||||||
|
delete cset;
|
||||||
|
cset = NULL;
|
||||||
|
#endif // wxUSE_FONTMAP
|
||||||
|
|
||||||
wxLogError(_("Cannot convert from encoding '%s'!"), name);
|
wxLogError(_("Cannot convert from encoding '%s'!"), name);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user