]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
change to /usr/share/wx/version
[wxWidgets.git] / src / msw / font.cpp
index 1800a135c03e9558cac848ee8a7019e9c407f450..2ab0fbb80438d9f8377da2a3cdbafa5047c30e46 100644 (file)
@@ -370,8 +370,6 @@ wxString wxNativeFontInfo::ToString() const
 
 void wxFont::Init()
 {
-    if ( wxTheFontList )
-        wxTheFontList->Append(this);
 }
 
 bool wxFont::Create(const wxNativeFontInfo& info, WXHFONT hFont)
@@ -420,8 +418,6 @@ bool wxFont::Create(int pointSize,
 
 wxFont::~wxFont()
 {
-    if ( wxTheFontList )
-        wxTheFontList->DeleteObject(this);
 }
 
 // ----------------------------------------------------------------------------