enable wxFontMapper in wxDFB port

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-01-22 14:05:07 +00:00
parent 47b6ebde09
commit c3a58b249e
14 changed files with 216 additions and 47 deletions

View File

@@ -340,36 +340,6 @@ wxString wxNativeFontInfo::ToUserString() const
return ToString();
}
// ----------------------------------------------------------------------------
// wxNativeEncodingInfo
// ----------------------------------------------------------------------------
bool wxNativeEncodingInfo::FromString(const wxString& WXUNUSED(s))
{
return false;
}
wxString wxNativeEncodingInfo::ToString() const
{
return wxEmptyString;
}
bool wxTestFontEncoding(const wxNativeEncodingInfo& WXUNUSED(info))
{
return true;
}
bool wxGetNativeFontEncoding(wxFontEncoding encoding,
wxNativeEncodingInfo *info)
{
// all encodings are available in GTK+ 2 because we translate text in any
// encoding to UTF-8 internally anyhow
info->facename.clear();
info->encoding = encoding;
return true;
}
#else // GTK+ 1.x
#ifdef __X__