X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ac162ad06ea4f97a768a9d0adaf3abbcf6e5f10..780bb8744b5a9d9492831f0bd338251aa4641c56:/src/mgl/font.cpp diff --git a/src/mgl/font.cpp b/src/mgl/font.cpp index 4deda242cf..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, @@ -177,7 +171,6 @@ bool wxFont::Create(int pointSize, struct font_t *wxFont::GetMGLfont_t(float scale, bool antialiased) { - // FIXME_MGL -- no antialiasing for fonts smaller than certain treshold! if ( !M_FONTDATA->m_valid ) { wxMGLFontLibrary *old = M_FONTDATA->m_library; @@ -207,12 +200,6 @@ void wxFont::Unshare() } } -wxFont::~wxFont() -{ - if (wxTheFontList) - wxTheFontList->DeleteObject(this); -} - // ---------------------------------------------------------------------------- // accessors // ----------------------------------------------------------------------------