return TRUE;
}
-// I've no idea what __GNUWIN32_OLD__ is. Anyway, I had to add the 2nd condition
-// for Cygwin b20 (JACS)
-#if (defined(__GNUWIN32_OLD__) || defined(__GNUWIN32__)) && !defined(__MINGW32__)
- #define wxFONTENUMPROC int(*)(ENUMLOGFONTEX *, NEWTEXTMETRICEX*, int, LPARAM)
+#if defined(__GNUWIN32__)
+ //BJ : FIXME? I have the second implementation in 2.95. Does it work with other versions?
+ // #define wxFONTENUMPROC int(*)(ENUMLOGFONTEX *, NEWTEXTMETRICEX*, int, LPARAM)
+ #define wxFONTENUMPROC int(*)(const LOGFONTA *, const TEXTMETRICA *, long unsigned int, LPARAM)
#else
#define wxFONTENUMPROC FONTENUMPROC
#endif