Recent w32api have FONTENUMPROC; this also fixes GCC 3.1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2002-06-16 15:17:05 +00:00
parent 48c61225d6
commit 65e8e8abb6

View File

@@ -146,7 +146,7 @@ bool wxFontEnumeratorHelper::SetEncoding(wxFontEncoding encoding)
return TRUE; return TRUE;
} }
#if defined(__GNUWIN32__) && !defined(__CYGWIN10__) #if defined(__GNUWIN32__) && !defined(__CYGWIN10__) && !wxCHECK_W32API_VERSION( 1, 1 )
#if wxUSE_NORLANDER_HEADERS #if wxUSE_NORLANDER_HEADERS
#define wxFONTENUMPROC int(*)(const LOGFONT *, const TEXTMETRIC *, long unsigned int, LPARAM) #define wxFONTENUMPROC int(*)(const LOGFONT *, const TEXTMETRIC *, long unsigned int, LPARAM)
#else #else