]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/font.cpp
Better sorting example and better default
[wxWidgets.git] / src / os2 / font.cpp
index 0742d230705f289edec4b54bcb21e23df3557047..4ed240007ce5cbb5e45fa9581e478c58cb9d1b74 100644 (file)
@@ -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