Link with shlwapi.lib and version.lib under MSW

These libraries are required now that we don't load the functions from them
dynamically (see e78be14ac1)

Closes #17180
This commit is contained in:
Vadim Zeitlin
2015-10-07 18:31:43 +02:00
parent aa970c3da3
commit 5cce48186c
598 changed files with 2730 additions and 2711 deletions

View File

@@ -40,6 +40,12 @@
#include "wx/msw/registry.h"
#include "wx/msw/private.h"
#include <shlwapi.h>
// For MSVC we can link in the required library explicitly, for the other
// compilers (e.g. MinGW) this needs to be done at makefiles level.
#ifdef __VISUALC__
#pragma comment(lib, "shlwapi")
#endif
#endif // OS
// Unfortunately the corresponding SDK constants are absent from the headers