]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_layout.cpp
cleanup - reformatting
[wxWidgets.git] / src / html / m_layout.cpp
index 91b88f61906220c1b5d16118dc0f61a8cc09b751..d9d76f6f6ffe1769010a184ab1595afc99138bbc 100644 (file)
@@ -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                    
                 }
             }
         }