]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/font.cpp
Tries to fix wxListBox focus problems.
[wxWidgets.git] / src / mgl / font.cpp
index 85e934c02cd75e6a9f9d040c4afb8afab74358e9..cc8dd3fb38b87dd8fd77236be568177c94ca73b1 100644 (file)
@@ -150,12 +150,6 @@ wxFontRefData::~wxFontRefData()
 
 IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
 
 
 IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
 
-void wxFont::Init()
-{
-    if (wxTheFontList)
-        wxTheFontList->Append(this);
-}
-
 bool wxFont::Create(const wxNativeFontInfo& info)
 {
     return Create(info.pointSize, info.family, info.style, info.weight,
 bool wxFont::Create(const wxNativeFontInfo& info)
 {
     return Create(info.pointSize, info.family, info.style, info.weight,
@@ -206,12 +200,6 @@ void wxFont::Unshare()
     }
 }
 
     }
 }
 
-wxFont::~wxFont()
-{
-    if (wxTheFontList)
-        wxTheFontList->DeleteObject(this);
-}
-
 // ----------------------------------------------------------------------------
 // accessors
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // accessors
 // ----------------------------------------------------------------------------