#include "wx/string.h"
#include "wx/font.h"
#include "wx/gdicmn.h"
+#include "wx/encinfo.h"
#if !USE_SHARED_LIBRARIES
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
/* New font system */
wxString wxFont::GetFaceName() const
{
- wxString str("");
+ wxString str;
if (M_FONTDATA)
str = M_FONTDATA->m_faceName ;
return str;