#pragma implementation "font.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
#include "wx/font.h"
#include "wx/fontutil.h"
#include "wx/cmndata.h"
#include "wx/tokenzr.h"
#include "wx/settings.h"
-#include <strings.h>
-
// ----------------------------------------------------------------------------
// 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,
}
}
-wxFont::~wxFont()
-{
- if (wxTheFontList)
- wxTheFontList->DeleteObject(this);
-}
-
// ----------------------------------------------------------------------------
// accessors
// ----------------------------------------------------------------------------