X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c14b6c3241d48d9cc36a2fd0aeab0ba330d96de..4776c0b783a9776f94b049aecdc253d379686b6b:/src/dfb/font.cpp diff --git a/src/dfb/font.cpp b/src/dfb/font.cpp index 83fc2138a6..7f780bdba7 100644 --- a/src/dfb/font.cpp +++ b/src/dfb/font.cpp @@ -98,10 +98,8 @@ wxString wxFont::GetFaceName() const return M_FONTDATA->GetFaceName(); } -wxFontFamily wxFont::GetFamily() const +wxFontFamily wxFont::DoGetFamily() const { - wxCHECK_MSG( Ok(), wxFONTFAMILY_MAX, wxT("invalid font") ); - return M_FONTDATA->GetFamily(); } @@ -148,13 +146,6 @@ const wxNativeFontInfo *wxFont::GetNativeFontInfo() const return M_FONTDATA->GetNativeFontInfo(); } -bool wxFont::GetNoAntiAliasing() const -{ - wxCHECK_MSG( Ok(), false, wxT("invalid font") ); - - return M_FONTDATA->GetNoAntiAliasing(); -} - // ---------------------------------------------------------------------------- // change font attributes // ---------------------------------------------------------------------------- @@ -202,8 +193,3 @@ void wxFont::SetEncoding(wxFontEncoding encoding) M_FONTDATA->SetEncoding(encoding); } -void wxFont::SetNoAntiAliasing(bool no) -{ - AllocExclusive(); - M_FONTDATA->SetNoAntiAliasing(no); -}