X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65e8e8abb6df384c2d5deaeb78c7c976a2b89f1d..df4131711384a17b827ab4b964dbabc6af2aa5da:/src/msw/fontenum.cpp?ds=inline diff --git a/src/msw/fontenum.cpp b/src/msw/fontenum.cpp index d538250cf9..55a34f3c4d 100644 --- a/src/msw/fontenum.cpp +++ b/src/msw/fontenum.cpp @@ -146,7 +146,9 @@ bool wxFontEnumeratorHelper::SetEncoding(wxFontEncoding encoding) return TRUE; } -#if defined(__GNUWIN32__) && !defined(__CYGWIN10__) && !wxCHECK_W32API_VERSION( 1, 1 ) +#if defined(__WXWINE__) + #define wxFONTENUMPROC FONTENUMPROCEX +#elif (defined(__GNUWIN32__) && !defined(__CYGWIN10__) && !wxCHECK_W32API_VERSION( 1, 1 )) #if wxUSE_NORLANDER_HEADERS #define wxFONTENUMPROC int(*)(const LOGFONT *, const TEXTMETRIC *, long unsigned int, LPARAM) #else