]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fontenum.cpp
missing event.Skip() added (it was impossible to use mouse without it...)
[wxWidgets.git] / src / msw / fontenum.cpp
index 49c26ef9aea4b00ed19b327135bfb2bf1499af32..f91b00c91fb3861b8dec1cc8a7865dd814af07a0 100644 (file)
@@ -111,8 +111,8 @@ bool wxFontEnumeratorHelper::SetEncoding(wxFontEncoding encoding)
 }
 
 #if defined(__GNUWIN32__)
-    #if defined(__MINGW32__)
-        #define wxFONTENUMPROC FONTENUMEXPROC
+    #if defined(__MINGW32__) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95)))
+        #define wxFONTENUMPROC int(*)(const LOGFONTA *, const TEXTMETRICA *, long unsigned int, LPARAM)
     #else
         #define wxFONTENUMPROC int(*)(ENUMLOGFONTEX *, NEWTEXTMETRICEX*, int, LPARAM)
     #endif