X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17b1d76b4add82305463d10b9f65668d06169363..cf283a470ab3eb4bc69959e3b5ae0edf30337fa5:/src/os2/font.cpp diff --git a/src/os2/font.cpp b/src/os2/font.cpp index 0742d23070..4ed240007c 100644 --- a/src/os2/font.cpp +++ b/src/os2/font.cpp @@ -297,6 +297,8 @@ protected: bool m_bInternalPS; // Internally generated PS? }; // end of CLASS wxFontRefData +#define M_FONTDATA ((wxFontRefData*)m_refData) + // ============================================================================ // implementation // ============================================================================ @@ -855,7 +857,7 @@ wxString wxNativeFontInfo::ToString() const fa.usCodePage, fa.lMatch, fn.usWeightClass, - fa.szFacename); + (char *)fa.szFacename); return sStr; } // end of wxNativeFontInfo::ToString