X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8462a84b2caab30265823ebbdbdfc7cff91486e6..29188693b3b8ba4b07762df012cc652d421dae79:/src/x11/font.cpp?ds=sidebyside diff --git a/src/x11/font.cpp b/src/x11/font.cpp index 32aa7d6a56..6423e578ea 100644 --- a/src/x11/font.cpp +++ b/src/x11/font.cpp @@ -725,10 +725,8 @@ wxString wxFont::GetFaceName() const return M_FONTDATA->m_faceName; } -wxFontFamily wxFont::GetFamily() const +wxFontFamily wxFont::DoGetFamily() const { - wxCHECK_MSG( Ok(), wxFONTFAMILY_MAX, wxT("invalid font") ); - return M_FONTDATA->m_family; }