X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e90babdf85c9c8025e7f0647c0270de6d7e44a63..e66474166b164b9e11f9881e79d531bc5182ea31:/src/msw/font.cpp diff --git a/src/msw/font.cpp b/src/msw/font.cpp index d6c84ee3b6..a953351bae 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -158,9 +158,9 @@ bool wxFont::RealizeResource(void) else if (M_FONTDATA->m_weight == wxBOLD) ff_weight = FW_BOLD; - const char* pzFace = (const char*) ff_face; + const wxChar* pzFace = (const wxChar*) ff_face; if (!M_FONTDATA->m_faceName.IsNull()) - pzFace = (const char*) M_FONTDATA->m_faceName ; + pzFace = (const wxChar*) M_FONTDATA->m_faceName ; /* Always calculate fonts using the screen DC (is this the best strategy?) * There may be confusion if a font is selected into a printer