X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/60ce06808d7ef822e41832a796520d68c518985c..a5aa80862cb50928bd879f7d42df49622f6e8cae:/include/wx/fontutil.h diff --git a/include/wx/fontutil.h b/include/wx/fontutil.h index 2d3bdcd86f..ad966ea606 100644 --- a/include/wx/fontutil.h +++ b/include/wx/fontutil.h @@ -45,9 +45,7 @@ // further it might make sense to make it a real class with virtual methods struct WXDLLEXPORT wxNativeFontInfo { -#if defined(__WXGTK__) // || defined(__WXMOTIF__) - // TODO: wxMotif should use this too but motif/font.cpp - // must be updated for this! +#if defined(__WXGTK__) || defined(__WXMOTIF__) // the components of the XLFD wxString fontElements[14]; @@ -61,6 +59,11 @@ struct WXDLLEXPORT wxNativeFontInfo wxString GetXFontName() const; #elif defined(__WXMSW__) LOGFONT lf; +#elif defined(__WXPM__) + // OS/2 native structures that define a font + FATTRS fa; + FONTMETRICS fm; + FACENAMEDESC fn; #else // other platforms // // This is a generic implementation that should work on all ports