X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c115835b39194fd6c6852c96f5a9cccd2cc9aaa..c56ae04274fda26269c6d06be34cf59a45eb70ce:/src/html/m_layout.cpp?ds=sidebyside diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 91b88f6190..d9d76f6f6f 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -341,9 +341,11 @@ TAG_HANDLER_BEGIN(BODY, "BODY") wxInputStream *is = fileBgImage->GetStream(); if ( is ) { +#if !defined(__WXMSW__) || wxUSE_WXDIB wxImage image(*is); if ( image.Ok() ) m_WParser->GetWindow()->SetBackgroundImage(image); +#endif } } }