Merge branch 'more-qt-win-build-fixes' of https://github.com/catalinr/wxWidgets

Miscellaneous fixes for building wxQt under MSW.

See https://github.com/wxWidgets/wxWidgets/pull/918
This commit is contained in:
Vadim Zeitlin
2018-09-17 23:26:27 +02:00
20 changed files with 221 additions and 267 deletions

View File

@@ -2481,7 +2481,8 @@ int wxImage::GetLoadFlags() const
// Under Windows we can load wxImage not only from files but also from
// resources.
#if defined(__WINDOWS__) && wxUSE_WXDIB && wxUSE_IMAGE
#if defined(__WINDOWS__) && wxUSE_WXDIB && wxUSE_IMAGE \
&& !defined(__WXQT__) // undefined reference to `wxDIB::ConvertToImage(wxDIB::ConversionFlags) const'
#define HAS_LOAD_FROM_RESOURCE
#endif