X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f9297b0eead20a0bfee71df18e0d8f0cbc402fb..cb71578cae7032226e8650e1a119b6eb043507b8:/src/html/winpars.cpp?ds=inline diff --git a/src/html/winpars.cpp b/src/html/winpars.cpp index b5f8b1ec68..121b76e3aa 100644 --- a/src/html/winpars.cpp +++ b/src/html/winpars.cpp @@ -299,7 +299,7 @@ wxFont* wxHtmlWinParser::CreateCurrentFont() *faceptr = face; *encptr = m_OutputEnc; *fontptr = new wxFont( - m_FontsSizes[fs] * m_PixelScale, + (int) (m_FontsSizes[fs] * m_PixelScale), ff ? wxMODERN : wxSWISS, fi ? wxITALIC : wxNORMAL, fb ? wxBOLD : wxNORMAL,