X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8462a84b2caab30265823ebbdbdfc7cff91486e6..f645356813e0479e74db69e15e915384922001ea:/src/dfb/font.cpp diff --git a/src/dfb/font.cpp b/src/dfb/font.cpp index 05a83676f0..cb36d55968 100644 --- a/src/dfb/font.cpp +++ b/src/dfb/font.cpp @@ -39,8 +39,6 @@ typedef wxFontMgrFontRefData wxFontRefData; // wxFont // ---------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject) - bool wxFont::Create(const wxNativeFontInfo& info) { return Create(info.pointSize, info.family, info.style, info.weight, @@ -98,10 +96,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(); }