do not allow HAS_LOAD_FROM_RESOURCE for wxQT, at least for now
This commit is contained in:
@@ -2481,7 +2481,8 @@ int wxImage::GetLoadFlags() const
|
|||||||
|
|
||||||
// Under Windows we can load wxImage not only from files but also from
|
// Under Windows we can load wxImage not only from files but also from
|
||||||
// resources.
|
// 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
|
#define HAS_LOAD_FROM_RESOURCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user