wxFONTENUMPROC definition changed for mingwin 2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fc3463cc7e
commit
1b6d97f9b8
@ -111,7 +111,9 @@ bool wxFontEnumeratorHelper::SetEncoding(wxFontEncoding encoding)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__GNUWIN32__)
|
#if defined(__GNUWIN32__)
|
||||||
#define wxFONTENUMPROC int(*)(ENUMLOGFONTEX *, NEWTEXTMETRICEX*, int, LPARAM)
|
//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
|
#else
|
||||||
#define wxFONTENUMPROC FONTENUMPROC
|
#define wxFONTENUMPROC FONTENUMPROC
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user