// 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];
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