]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/font.cpp
Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily().
[wxWidgets.git] / src / osx / carbon / font.cpp
index 2d0ae842e25fdbe33bfff63fb61313d2a423eb4f..4b477bb8ccf30912d551eb621c40d67cc8d674cf 100644 (file)
@@ -732,10 +732,8 @@ wxSize wxFont::GetPixelSize() const
 #endif
 }
 
-wxFontFamily wxFont::GetFamily() const
+wxFontFamily wxFont::DoGetFamily() const
 {
-    wxCHECK_MSG( M_FONTDATA != NULL , wxFONTFAMILY_MAX, wxT("invalid font") );
-
     return M_FONTDATA->GetFamily();
 }