X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..2b0246530d08cf7724d94c70d631c166f9717c2c:/src/os2/fontdlg.cpp diff --git a/src/os2/fontdlg.cpp b/src/os2/fontdlg.cpp index c2b6091965..ca3bb8fd67 100644 --- a/src/os2/fontdlg.cpp +++ b/src/os2/fontdlg.cpp @@ -18,6 +18,7 @@ #include "wx/defs.h" #include "wx/utils.h" #include "wx/dialog.h" +#include "wx/math.h" #endif #include "wx/fontdlg.h" @@ -29,7 +30,6 @@ #include "wx/os2/private.h" #include "wx/cmndata.h" -#include #include #include @@ -91,7 +91,7 @@ int wxFontDialog::ShowModal() 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;