#include "wx/defs.h"
#include "wx/utils.h"
#include "wx/dialog.h"
+#include "wx/math.h"
#endif
#include "wx/fontdlg.h"
#include "wx/os2/private.h"
#include "wx/cmndata.h"
-#include <math.h>
#include <stdlib.h>
#include <string.h>
vChosenFont.SetPointSize(nPointSize);
m_fontData.m_chosenFont = vChosenFont;
- m_fontData.EncodingInfo().facename = vFontDlg.fAttrs.szFacename;
+ m_fontData.EncodingInfo().facename = (wxChar*)vFontDlg.fAttrs.szFacename;
m_fontData.EncodingInfo().charset = vFontDlg.fAttrs.usCodePage;
return wxID_OK;