Restore dynamic linking of GDI functions for non-MSVC.

This partially reverts the changes of r77029 and r77039: now functions such as
Set/GetLayout(), AlphaBlend() and GradientFill() are still called (almost)
directly when using MSVC but pass by dynamic loading with the other compilers,
which don't have #pragma comment(lib) and, in MinGW case, also lack some of
these functions in their libraries even if we do link with them.

Closes #16411.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-08-14 12:11:39 +00:00
parent 40c84134ae
commit 21da20d579
7 changed files with 275 additions and 63 deletions

3
configure vendored
View File

@@ -23051,8 +23051,7 @@ if test "$wxUSE_GUI" = "yes"; then
case "${host}" in
*-*-mingw32* )
GUI_TK_LIBRARY="-lmsimg32"
WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows $GUI_TK_LIBRARY"
WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
esac
fi