X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8462a84b2caab30265823ebbdbdfc7cff91486e6..ccec90930cfc38bd4347a97f46481242d9fd23cd:/src/gtk/font.cpp diff --git a/src/gtk/font.cpp b/src/gtk/font.cpp index d011c26b35..adeb1354f7 100644 --- a/src/gtk/font.cpp +++ b/src/gtk/font.cpp @@ -333,10 +333,8 @@ wxString wxFont::GetFaceName() const return M_FONTDATA->m_nativeFontInfo.GetFaceName(); } -wxFontFamily wxFont::GetFamily() const +wxFontFamily wxFont::DoGetFamily() const { - wxCHECK_MSG( IsOk(), wxFONTFAMILY_MAX, wxT("invalid font") ); - return M_FONTDATA->m_nativeFontInfo.GetFamily(); }