]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/font.cpp
Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily().
[wxWidgets.git] / src / motif / font.cpp
index 2969f829be42b054572d565893c89a221ed1a7a8..3d5488cc42264e629b8c07a723116bee9bacf2b1 100644 (file)
@@ -455,10 +455,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;
 }