X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7826e2dd838d59c6a8061b4fdd9f7326a6e06de3..b6e5eaa59701315ca06996ff845872ca4122695f:/include/wx/fontutil.h diff --git a/include/wx/fontutil.h b/include/wx/fontutil.h index 7defab993d..7bb3859bcb 100644 --- a/include/wx/fontutil.h +++ b/include/wx/fontutil.h @@ -26,6 +26,11 @@ #include "wx/font.h" // for wxFont and wxFontEncoding +#if defined(__WXMSW__) +#include +#include "wx/msw/winundef.h" +#endif + // ---------------------------------------------------------------------------- // types // ---------------------------------------------------------------------------- @@ -39,6 +44,8 @@ struct WXDLLEXPORT wxNativeFontInfo { #if defined(__WXGTK__) wxString xFontName; +#elif defined(__WXMSW__) + LOGFONT lf; #else // other platforms // // This is a generic implementation that should work on all ports @@ -81,4 +88,12 @@ extern bool wxTestFontEncoding(const wxNativeEncodingInfo& info); #include "wx/unix/fontutil.h" #endif // X || GDK +// ---------------------------------------------------------------------------- +// font-related functions (MGL) +// ---------------------------------------------------------------------------- + +#ifdef __WXMGL__ + #include "wx/mgl/fontutil.h" +#endif // __WXMGL__ + #endif // _WX_FONTUTIL_H_