]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/font.cpp
Use wxPENSTYLE_XXX and wxBRUSHSTYLE_XXX instead of wxXXX constants.
[wxWidgets.git] / src / dfb / font.cpp
index 05a83676f00fcf4cd65d8f62c4dac3e65ee340b2..cb36d559687997faabeb2bca46a2b41eae5bf55c 100644 (file)
@@ -39,8 +39,6 @@ typedef wxFontMgrFontRefData wxFontRefData;
 // wxFont
 // ----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
-
 bool wxFont::Create(const wxNativeFontInfo& info)
 {
     return Create(info.pointSize, info.family, info.style, info.weight,
@@ -98,10 +96,8 @@ wxString wxFont::GetFaceName() const
     return M_FONTDATA->GetFaceName();
 }
 
-wxFontFamily wxFont::GetFamily() const
+wxFontFamily wxFont::DoGetFamily() const
 {
-    wxCHECK_MSG( Ok(), wxFONTFAMILY_MAX, wxT("invalid font") );
-
     return M_FONTDATA->GetFamily();
 }