]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/font.cpp
Add wxVersionInfo and functions returning it for 3rd party libraries.
[wxWidgets.git] / src / gtk / font.cpp
index d011c26b35f8e7c48ac8912d95b4a1ccc2aa119c..adeb1354f7097ff5e0d421a5f40bf674fcb6de58 100644 (file)
@@ -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();
 }