X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..c81394808bf7efd84e4294e44a9a9a7b7f6dd8a9:/src/motif/font.cpp diff --git a/src/motif/font.cpp b/src/motif/font.cpp index 2969f829be..5707d14729 100644 --- a/src/motif/font.cpp +++ b/src/motif/font.cpp @@ -42,8 +42,6 @@ #include "wx/tokenzr.h" #include "wx/motif/private.h" -IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject) - // ---------------------------------------------------------------------------- // private classes // ---------------------------------------------------------------------------- @@ -455,10 +453,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; }