X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7826e2dd838d59c6a8061b4fdd9f7326a6e06de3..b89dac7816168bc86d4862edb394e681c161a3e3:/include/wx/fontutil.h diff --git a/include/wx/fontutil.h b/include/wx/fontutil.h index 7defab993d..b015bea0aa 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 <windows.h> +#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