do not allow HAS_LOAD_FROM_RESOURCE for wxQT, at least for now

This commit is contained in:
Cătălin Răceanu 2018-08-03 00:43:50 +03:00
parent ee8ab1b9aa
commit 7ec3a14c9a

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