X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef4e8ebdd4bb0b34778b8a889dfed43d240b563e..31e39e3c51f0a14a49ba86a5326e1461ad60dfee:/src/motif/font.cpp diff --git a/src/motif/font.cpp b/src/motif/font.cpp index c5d72cd94d..a032dd8775 100644 --- a/src/motif/font.cpp +++ b/src/motif/font.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: font.cpp +// Name: src/motif/font.cpp // Purpose: wxFont class // Author: Julian Smart // Modified by: @@ -196,8 +196,6 @@ wxFont::wxFont(const wxNativeFontInfo& info) void wxFont::Init() { - if ( wxTheFontList ) - wxTheFontList->Append(this); } bool wxFont::Create(int pointSize, @@ -219,8 +217,6 @@ bool wxFont::Create(int pointSize, wxFont::~wxFont() { - if ( wxTheFontList ) - wxTheFontList->DeleteObject(this); } // ---------------------------------------------------------------------------- @@ -412,3 +408,4 @@ WXFontList wxFont::GetFontList(double scale, WXDisplay* display) const return (f ? f->m_fontList : (WXFontList) 0); } +