]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/font.cpp
toplevel code transferred to wxTopLevelWindow
[wxWidgets.git] / src / mac / font.cpp
index d425b3cf95f1718e3cfd96704a48c1019afaface..2d3e5f903323941659823fdcf20d417a6eeff51d 100644 (file)
@@ -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()