if ( m_bmpBg.IsOk() )
{
// draw the background bitmap tiling it over the entire window area
- const wxSize sz = GetClientSize();
+ const wxSize sz = GetVirtualSize();
const wxSize sizeBmp(m_bmpBg.GetWidth(), m_bmpBg.GetHeight());
for ( wxCoord x = 0; x < sz.x; x += sizeBmp.x )
{
// draw the HTML window contents
dc->SetMapMode(wxMM_TEXT);
- dc->SetBackgroundMode(wxBRUSHSTYLE_TRANSPARENT);
+ dc->SetBackgroundMode(wxTRANSPARENT);
dc->SetLayoutDirection(GetLayoutDirection());
wxHtmlRenderingInfo rinfo;