#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/utils.h"
+ #include "wx/gdicmn.h"
#endif
#include "wx/fontutil.h"
-#include "wx/gdicmn.h"
#include "wx/fontutil.h"
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)