/////////////////////////////////////////////////////////////////////////////
-// Name: font.cpp
+// Name: src/motif/font.cpp
// Purpose: wxFont class
// Author: Julian Smart
// Modified by:
// wxFont
// ----------------------------------------------------------------------------
-wxFont(const wxNativeFontInfo& info)
+wxFont::wxFont(const wxNativeFontInfo& info)
{
Init();
void wxFont::Init()
{
- if ( wxTheFontList )
- wxTheFontList->Append(this);
}
bool wxFont::Create(int pointSize,
wxFont::~wxFont()
{
- if ( wxTheFontList )
- wxTheFontList->DeleteObject(this);
}
// ----------------------------------------------------------------------------
return (f ? f->m_fontList : (WXFontList) 0);
}
+