X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..9d4ca3aa8f594848a8f68140b25ec86549e12e98:/src/mac/font.cpp?ds=sidebyside diff --git a/src/mac/font.cpp b/src/mac/font.cpp index d425b3cf95..2d3e5f9033 100644 --- a/src/mac/font.cpp +++ b/src/mac/font.cpp @@ -121,8 +121,6 @@ void wxFontRefData::MacFindFont() void wxFont::Init() { - if ( wxTheFontList ) - wxTheFontList->Append(this); } bool wxFont::Create(const wxNativeFontInfo& info) @@ -157,8 +155,6 @@ bool wxFont::Create(int pointSize, wxFont::~wxFont() { - if (wxTheFontList) - wxTheFontList->DeleteObject(this); } bool wxFont::RealizeResource()