#include "wx/wxprec.h"
+#include "wx/font.h"
+
#ifndef WX_PRECOMP
#include "wx/string.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/font.h"
-#include "wx/gdicmn.h"
#include "wx/encinfo.h"
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
RealizeResource();
}
-void wxFont::SetFaceName(const wxString& faceName)
+bool wxFont::SetFaceName(const wxString& faceName)
{
Unshare();
M_FONTDATA->m_faceName = faceName;
RealizeResource();
+
+ return wxFontBase::SetFaceName(faceName);
}
void wxFont::SetUnderlined(bool underlined)