X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8462a84b2caab30265823ebbdbdfc7cff91486e6..4776c0b783a9776f94b049aecdc253d379686b6b:/src/gtk1/font.cpp diff --git a/src/gtk1/font.cpp b/src/gtk1/font.cpp index 176dde8d15..2d97fcd52f 100644 --- a/src/gtk1/font.cpp +++ b/src/gtk1/font.cpp @@ -534,10 +534,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; } @@ -668,7 +666,7 @@ void wxFont::DoSetNativeFontInfo( const wxNativeFontInfo& info ) static GdkFont *g_systemDefaultGuiFont = NULL; -// this is also used from tbargtk.cpp and tooltip.cpp, hence extern +// this is also used from toolbar.cpp and tooltip.cpp, hence extern extern GdkFont *GtkGetDefaultGuiFont() { if (!g_systemDefaultGuiFont)