wxMSW compilation fixes for old mingw32

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-01-04 16:35:55 +00:00
parent ce96b7a010
commit e47c4d4874
4 changed files with 7 additions and 7 deletions

View File

@@ -110,12 +110,10 @@ bool wxFontEnumeratorHelper::SetEncoding(wxFontEncoding encoding)
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__)
#if defined(__GNUWIN32__) && !defined(__MINGW32__)
#define wxFONTENUMPROC int(*)(ENUMLOGFONTEX *, NEWTEXTMETRICEX*, int, LPARAM)
#else
#define wxFONTENUMPROC FONTENUMPROC
#define wxFONTENUMPROC FONTENUMEXPROC
#endif
void wxFontEnumeratorHelper::DoEnumerate()