X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cdb471c6a6027f336b793d141f7ba976c083e2c..239446b4150e55c1dfed186340f144d78c2f1cc9:/src/msw/fontenum.cpp diff --git a/src/msw/fontenum.cpp b/src/msw/fontenum.cpp index 7021de27dc..5674825c1b 100644 --- a/src/msw/fontenum.cpp +++ b/src/msw/fontenum.cpp @@ -129,7 +129,12 @@ void wxFontEnumeratorHelper::DoEnumerate() (LPARAM)this, 0 /* reserved */) ; #else // Win16 ::EnumFonts(hDC, (LPTSTR)NULL, (FONTENUMPROC)wxFontEnumeratorProc, - (LPARAM) (void*) this) ; + #ifdef STRICT + (LPARAM) + #else + (LPSTR) + #endif + this); #endif // Win32/16 ::ReleaseDC(NULL, hDC);