]> git.saurik.com Git - wxWidgets.git/commitdiff
Restore embedding manifest when using MinGW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 13 Jul 2013 23:23:27 +0000 (23:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 13 Jul 2013 23:23:27 +0000 (23:23 +0000)
The changes of r73483 broke inclusion of the manifest in the programs built
using MinGW because wxUSE_RC_MANIFEST was never defined. Somehow nobody
complained about it but this resulted in using comctl32.dll 5.80 instead of
6.0 and e.g. problems with toolbar appearance (see #13512).

Do use the manifest by default with MinGW and, in fact, all the other
compilers if any other ones still work, as only MSVC is known to embed the
manifest automatically and we take care of it separately.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/genrcdefs.h

index a69638e9ba09f7c8114bad5be8a79a7643d3f159..24f4f1f6212b3edcdb236a8dcea4cd1cbcc0d0be 100644 (file)
@@ -16,6 +16,8 @@ EMIT(#define _WX_RCDEFS_H)
 #if _MSC_FULL_VER < 140040130
 EMIT(#define wxUSE_RC_MANIFEST 1)
 #endif
+#else
+EMIT(#define wxUSE_RC_MANIFEST 1)
 #endif
 
 #ifdef _M_AMD64