X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9695c53a923ae7f19df51f84fd69ca052acb4f8f..e828d3fc808bf4b76e256afe8da5d268fb684735:/src/html/htmprint.cpp diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index cacbefbc60..0d0d2a102a 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -410,7 +410,7 @@ void wxHtmlPrintout::RenderPage(wxDC *dc, int page) m_Renderer->SetDC(dc, (double)ppiPrinterY / (double)ppiScreenY); - dc->SetBackgroundMode(wxTRANSPARENT); + dc->SetBackgroundMode(wxBRUSHSTYLE_TRANSPARENT); m_Renderer->Render((int) (ppmm_h * m_MarginLeft), (int) (ppmm_v * (m_MarginTop + (m_HeaderHeight == 0 ? 0 : m_MarginSpace)) + m_HeaderHeight), m_PageBreaks,