X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f9297b0eead20a0bfee71df18e0d8f0cbc402fb..dd107c50be43e8d4dbdba20df162faf119a3781c:/src/html/winpars.cpp 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,