+ if (tag.HasParam(wxT("BACKGROUND")))
+ {
+ wxFSFile *fileBgImage = m_WParser->OpenURL
+ (
+ wxHTML_URL_IMAGE,
+ tag.GetParam(wxT("BACKGROUND"))
+ );
+ if ( fileBgImage )
+ {
+ wxInputStream *is = fileBgImage->GetStream();
+ if ( is )
+ {
+ wxImage image(*is);
+ if ( image.Ok() )
+ m_WParser->GetWindow()->SetBackgroundImage(image);
+ }
+ }
+ }
+