X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/493bdcc72ab4360b41897193ee9def744d24988f..780bb8744b5a9d9492831f0bd338251aa4641c56:/src/mgl/font.cpp diff --git a/src/mgl/font.cpp b/src/mgl/font.cpp index 85e934c02c..cc8dd3fb38 100644 --- a/src/mgl/font.cpp +++ b/src/mgl/font.cpp @@ -150,12 +150,6 @@ wxFontRefData::~wxFontRefData() 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, @@ -206,12 +200,6 @@ void wxFont::Unshare() } } -wxFont::~wxFont() -{ - if (wxTheFontList) - wxTheFontList->DeleteObject(this); -} - // ---------------------------------------------------------------------------- // accessors // ----------------------------------------------------------------------------