]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/font.cpp
Add support for long long to wxNumberFormatter.
[wxWidgets.git] / src / gtk1 / font.cpp
index 9970976eff9d4b89f28c0cd6220d279836345964..c6a1888c16e9703cd98628c2c0290e7246f0bd12 100644 (file)
@@ -23,8 +23,8 @@
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/settings.h"
-    #include "wx/cmndata.h"
     #include "wx/gdicmn.h"
+    #include "wx/encinfo.h"
 #endif
 
 #include "wx/fontutil.h"
@@ -450,8 +450,6 @@ void wxFontRefData::SetNativeFontInfo(const wxNativeFontInfo& info)
 // wxFont creation
 // ----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
-
 wxFont::wxFont(const wxNativeFontInfo& info)
 {
     (void) Create(info.GetXFontName());
@@ -534,10 +532,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;
 }