X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/79e4b6277eec63c346239e8957fed478f5daa6ab..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/motif/font.cpp diff --git a/src/motif/font.cpp b/src/motif/font.cpp index 10ab6faf5b..048592aeb0 100644 --- a/src/motif/font.cpp +++ b/src/motif/font.cpp @@ -360,7 +360,8 @@ wxXFont* wxFont::GetInternalFont(double scale, WXDisplay* display) const } // not found, create a new one - XFontStruct *font = wxLoadQueryNearestFont(pointSize, + XFontStruct *font = (XFontStruct *) + wxLoadQueryNearestFont(pointSize, M_FONTDATA->m_family, M_FONTDATA->m_style, M_FONTDATA->m_weight,